which

Show full pathname of command

Usage: which unixcmd

Standard Input: Not used

Standard Output: Used to display results

SEE ALSO

For more information, see page 97

Note

which works in the Bourne shell, but not the Korn shell.

Get Practical UNIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.