WHICH(1)
NAME
which − locate a program file, including aliases and paths (csh only)
USAGE
which [ names ]
DESCRIPTION
Which takes a list of names and looks for the files that would be executed had these names been given as commands. It expands arguments that are aliased, and searches for them along your path. Both aliases and path are taken from your .cshrc file.
FILES
~/.cshrcsource of aliases and path values
DIAGNOSTICS
Which provides a diagnostic for names aliased to more than a single word, or for executable files whose argument names are not found in the path.
CAUTIONS
A C Shell must execute which, since other Shells do not know about aliases. The DOMAIN C Shell has a built-in which command. To use this slower Shell script, explicitly name it /usr/bin/which. Refer to csh (1) for more information.