You can check to see if there's a given program in your PATH
by using which
. For example, here we find out that our Linux
system has no (common) sense:
$ which sense
which: no sense in (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin)
In this example, we successfully locate ls
:
$ which ls
/usr/bin/ls