Where are commands located?

Unix commands are executable binary files located in directories with the name bin (for binary). Many of the commands that you use are located in the directory /usr/bin.

When you enter the name of a command the shell checks to see if it is a built-in command. If it is not, it looks for the the binary file that the command name refers to in each of the directories that are defined in the PATH environment variable.


[Home] [Search] [Index] This site maintained by bondaren@thsun1.jinr.ru