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

Posted on Aug 22, 2019 10:15 AM

Reply
10 replies
Sort By: 

Aug 22, 2019 11:43 AM in response to remcocacola

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.


Reply

Aug 22, 2019 12:07 PM in response to Barney-15E

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!


Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal stuck on -bash-3.2$

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.