next up previous contents
Next: 1.5 Shortcuts Up: 1.4 Man Pages Previous: 1.4.23 tar   Contents

1.4.24 which

NAME
 
which - show full path of commands

SYNOPSIS
 
which progname ...

DESCRIPTION
 
Which takes a series of program names, and prints out the full pathname of the program that the shell would call to execute it. It does this by simulating the shells searching of the $PATH environment variable.

EXAMPLES