Apple - Terminal not working after Yosemite installation

You installed another version of bash,right? The default login shell is /bin/bash. you can change it following these steps,

  1. go to "System Preferences" > "Users & Groups"
  2. click the "padlock" icon and authenticate
  3. right-click the icon for your user and select "Advanced Options..."
  4. change the value for "Login shell" to "/bin/bash"

Your custom installation of bash is no longer present after upgrading to Yosemite.

If you moved Homebrew aside to make the installation of Yosemite go faster, you can move it back via the Finder and things will work.

Alternatively, you can change the shell used by Terminal.app back to the system-provided bash by selecting Terminal > Preferences from the menu bar (this should still be available even though the Terminal window shows it failed to start) in the Terminal.app and under the General tab set the Shells open with: setting to Command (complete path): and enter:

/bin/bash

in to the command area like so:

enter image description here

This will allow you to open a Terminal window. Once this window is open I strongly suggest you set your default shell back to the system-provided bash by running:

chsh -s /bin/bash

Once you do this, you can change Terminal.app's preferences back to Default login shell.

Tags:

Macos

Terminal