WHICH(1) WHICH(1) NAME which - locate a program file including aliases and path (csh only) SYNOPSIS which [-a] [-f] [name...] 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 searched for along the user's path. Aliases are taken from the user's .cshrc file. The current value of path is used. The -a option reports all instances rather than just the first one. With the -f (fast) option, which ignores the .cshrc file. FILES ~/.cshrc source of aliases DIAGNOSTICS A diagnostic is given for names that are aliased to one or more words, or if an executable file with the argument name was not found in the path. BUGS Must be executed by a csh, since only csh's know about aliases. Only aliases and paths from ~/.cshrc are used; importing from the current environment, .login, or /etc/cshrc isn't attempted. Page 1