Shell command for outputting absolute path of binary
Try which ls
to discover full path to ls
command
The command
type name
will give you every information about name
, if executable (returning also the path), shell alias, shell function, shell builtin.
whereis -b yourBinary
will output the location of a program.