1whence [ -vcwfpams ] name ...
2       For each name, indicate how it would be interpreted if used as a
3       command name.
4
5       -v     Produce a more verbose report.
6
7       -c     Print the results  in  a  csh-like  format.   This  takes
8              precedence over -v.
9
10       -w     For  each  name,  print `name: word' where word is one of
11              alias, builtin, command, function,  hashed,  reserved  or
12              none,  according  as  name  corresponds  to  an  alias, a
13              built-in command, an external command, a shell  function,
14              a command defined with the hash builtin, a reserved word,
15              or is not recognised.  This takes precedence over -v  and
16              -c.
17
18       -f     Causes  the contents of a shell function to be displayed,
19              which would otherwise not happen unless the -c flag  were
20              used.
21
22       -p     Do  a  path  search  for  name  even  if  it is an alias,
23              reserved word, shell function or builtin.
24
25       -a     Do a search for all occurrences of  name  throughout  the
26              command  path.   Normally  only  the  first occurrence is
27              printed.
28
29       -m     The arguments are taken as patterns (should  be  quoted),
30              and  the information is displayed for each command match-
31              ing one of these patterns.
32
33       -s     If a pathname contains symlinks, print  the  symlink-free
34              pathname as well.
35
36type [ -wfpams ] name ...
37       Equivalent to whence -v.
38
39where [ -wpms ] name ...
40       Equivalent to whence -ca.
41
42which [ -wpams ] name ...
43       Equivalent to whence -c.
44