Terminal stuck on -bash-3.2$
I cannot seem to reset my terminal as its stuck on -bash-3.2$. It won't accept any commends and have already removed com.apple.Terminal.plist but no luck. Any tips?
MacBook
I cannot seem to reset my terminal as its stuck on -bash-3.2$. It won't accept any commends and have already removed com.apple.Terminal.plist but no luck. Any tips?
MacBook
Nothing, but I did find a perl folder when searching for .bash... maybe I accidentally mocked it up downloading perl5.
maybe = very likely
remcocacola wrote:
I cannot seem to reset my terminal as its stuck on -bash-3.2$. It won't accept any commends and have already removed com.apple.Terminal.plist but no luck. Any tips?
What happens if you enter the command, copy and paste:
exit
What is in your Terminal Preferences for:
In the General Tab
If you have Shell opens with: Command selected, then that may be the problem. Set it to Default login shell.
In the Profiles tab, shell tab,
Is a command set to run at startup? If so, disable that.
Open Users & Groups system prefs.
Unlock the padlock.
ctrl-click on your account and choose Advanced…
Don't change anything, but what does it say for the default shell? Should be /bin/bash
Disregard. I thought you were getting a plain sh shell. You are in a bash shell, but things are weird.
In Finder, open your home folder and type cmd-shift-.
Do you have a .bashrc or .bash_profile?
Perhaps something is set in one of those that is causing the issue you have.
Unfortunately, I can't tell you what the default files should look like.
Oh interesting. It exists but is empty. There is another one called `profile~orig` with the following content:
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
I replaced the empty one with the content here and that fixed it. Thank you so much for your help. Much appreciated!
How about /etc/profile?
I just get '[process completed]'.
If i then restart terminal I get the same again.
Sorry, no luck here. The shell opens with a default profile and no commands are set to run at startup.
Thanks for trying though. I wish there was a way to reinstall terminal (just the programme)
Yes that's correct. It's /bin/bash
Terminal stuck on -bash-3.2$