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