which -- locate a task in the package list whereis -- locate all occurances of a task in the package list
which [task] [...] whereis [task] [...]
- Name of task to be located.
The which command returns the first occurance of a task in the currently loaded package list. The whereis command returns all occurances of that task in the package list. More than one task may be supplied on the command line, unique abbreviations for task names are permitted.
These commands are similar to the unix commands of the same name. Users should note that only the currently loaded packages are searched.
1. Find out which package contains the HEAD task.
cl> which head system
2. Find all currently loaded package which contain the SPLOT task.
cl> whereis splot echelle onedspec