Is there a shell command for outputing absolute path for specified program? I'd like to know where executable binary file is.
All of the above, with some caveats:
whereis -- searches for matches (by default) on some pre-set directories. The list is available on 'man whereis', and can be passed as a parameter
which -- searches for executable files in the current environment (in other words, executables that can be found in the directories listed in the environment variable PATH
(bash) type -- if 'name' is an alias, it lists the alias definition, but not necessarily the path of any executables in the definition.
Another option, more generic, is mlocate.