How to restore .bash_profile on a mac? None of my unix terminal are working [closed]
While this is offtopic for stackoverflow, it’s also pretty simple to fix: Start Terminal.app. Reset $PATH: $ export PATH=/bin:/usr/bin:/usr/local/bin Fix ~/.bash_profile: $ vi ~/.bash_profile Or you can avoid setting $PATH at all with: $ /usr/bin/vi ~/.bash_profile