which

From Juneday education
Jump to: navigation, search


Description

which - shows the full path of (shell) commands..

On this page we only give you a short introduction with a few examples. We encourage you to read the manual (man which).


"which is a Unix command used to identify the location of executables." which

Example output

Output an executable's location

$ which mkdir
/usr/bin/mkdir
$ which pwd
/usr/bin/pwd