where <names...>

For each name, indicate how it should be interpreted

Arguments

NameDescription
names

Options

NameDescription
-wFor each name, print 'name: word', where 'word' is the kind of command
-pDo a path search for the name, even if it's an alias/function/builtin
-mThe arguments are taken as patterns (pattern characters must be quoted)
-sIf the pathname contains symlinks, print the symlink-free name as well
-SPrint intermediate symlinks and the resolved name
-x <num>Expand tabs when outputting shell function