
In the above example you can see that grep is misspelled as gerp, hence the command is actually invalid! If you are unsure if it's a valid command or not look at the below comprehensive list to find one you are trying to use, $ grep '%looking for some text%' Output: bash: gerp: command not found Let's see some examples and what could be the cause of the issue,


#Unix bash on mac mac os#
Bash: command not found is the most common error that someone may encounter while working on a macOS (earlier know as Mac OS X) terminal or any other Unix or Linux based operating system console (or Windows command line with Bash Shell commands enabled).
