How to Fix Bash command not found issue in MAC OS

If you are getting Bash command not found issue while executing any command in terminal. It means that the path variable may have gotten befuddled.

You should be able to fix them by running below two commands in the terminal. They contain the default executable paths

export PATH="/usr/bin:/bin:/usr/sbin:/sbin"
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"

Now execute your command again which was giving you an issue earlier. It should work this time.

Leave a Reply

Your email address will not be published. Required fields are marked *