Cisco Systems 1.0 (1) Marine Radio User Manual


 
Cisco Support Tools 1.0 User Guide How to Use the Which Utility 274
-a: Prints the full pathnames of all of the files found along the specified path. Note
that if the path specifies the same directory more than once (which may include the
implicit current directory), the same pathname may occur more than once.
-p: Use the next argument as the name of the environment variable whose value
contains the path to search and will not automatically add the extension as described
above.
-?: Display program description.
Example
which -a which prints the pathnames of all of the places where which.com,
which.exe, which.bat, or which.cmd exist along the path specified by the value of
the environment variable PATH.
Note: If the environment variable WHICH exists, its value is used to establish default
options.
Note: You can override an option that was specified in the environment variable by
following the option with a minus '-' sign. For example, to turn off the -a option,
specify -a-.
See Also
For related information, see:
About Common Utilities