How to find where my command is stored in Linux
In Category Command Line
The “which” command lets you know exactly which program is run when you type a command at shell prompt. There is an environment variable called PATH which contains list of directories which will be looked up for the executable when a command is attempted to run at command line. The following example shows how the “which” command is used to find the path of “find” executable.
[neo@techpulp ~]# which find /usr/bin/find [neo@techpulp ~]#
Recent Comments