Which
From TWUUG
(Difference between revisions)
Latest revision as of 03:41, 10 February 2008
The which command is used to quickly locate the executable files for programs, the syntax is "which {program name}". As an example lets say you are looking for the location of the firefox executable, type "which firefox", it will return the location of the executable as shown below.
user@linux:/$ which firefox /usr/bin/firefox