which(1) which(1)NAME which - reports the directory path to a file by interpreting PATH and alias settings SYNOPSIS which [name]... ARGUMENTS name Specifies the name that which searches for the executable file(s). DESCRIPTION which takes a list of names and looks for the files which would be executed had these names been given as commands. Each argument is expanded if it is aliased, and is searched for along the user's path. Both aliases and paths are taken from the user's .cshrc file. STATUS MESSAGES AND VALUES A value is given for names which are aliased to more than a single word, or if an executable file with the argument name was not found in the path. NOTES which Operates only with csh. FILES /usr/ucb/which Executable file ~/.cshrc Source file containing aliases and path values SEE ALSO whereis(1), which(1) January 1992 1