/usr/ucb/which
[
commands
]
List which files would be executed if the named
commands
had been run as a command.
which
reads the user's
.cshrc
file, checking aliases and searching the
path
variable.
Users of the Bourne or Korn shells can use the built-in
type
command as an alternative.
which cc ls
/usr/ucb/cc
ls: aliased to ls -sFC