whereis: locate all occurences of a task in the package list

Package: language

Usage

which [task] [...]
whereis [task] [...]

Parameters

task
Name of task to be located.

Description

The which command returns the first occurrence of a task in the currently loaded package list. The whereis command returns all occurrences 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.

Examples

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

See also