I have this command that I run. Let's call it foo
.
I can execute foo
without specify the full path to foo
like so:
$ foo
missing args
I suspect foo
is a bash script so I want to look at the source code in foo
, but when I do which foo
I get the standard error message:
which: no foo in (/usr/local/bin ...removed for brevity ...)
What gives?