0

I was following a tutorial on how to update my bash version and everything was fine until I had to add /usr/local/bin/bash into /etc/shells. after I added it I had to run this command sudo chsh -s /usr/local/bin/bash. It gave me an error saying

/usr/local/bin/bash: No such file or directory

then I tried restarting my terminal then it said this

login: /usr/local/bin/bash: No such file or directory

[Process completed]

So then I went to the files that I edited via a text editor and changed them back to how the were before. But then after I restarted my terminal again I got the same error.

Bingus
  • 1
  • You should be able to change the shell back to either /bin/bash or /bin/zsh with Daniel Beck's answer here or Chopper3's similar answer here. – Gordon Davisson Sep 12 '21 at 10:57
  • Which MacOS version? What tutorial - is it applicable to your MacOS version? In Mojave bash path is /bin/bash, /usr/local/bin doesn't have even symlink to bash. – Peregrino69 Sep 12 '21 at 12:56

0 Answers0