Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ which(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh



WHICH(1,C)                  AIX Commands Reference                   WHICH(1,C)



-------------------------------------------------------------------------------
which



PURPOSE

Locates an executable program using "path."

SYNTAX


which --- file ---|
       ^        |
       +--------+


DESCRIPTION

Each argument is expanded if it is aliased, and the which command follows the
user's path to locate the first user executable program(s) matching the given
file(s).  If hidden directories are encountered, they are displayed.

Note:  If a given file is not found, which exits silently.

EXAMPLES

With PATH = :/bin:/usr/bin:/usr/ucb, the command:

        which login who which

produces:

       no login in . /bin /usr/bin /usr/ucb
       /bin/who
       /usr/ucb/which

FILES

$HOME/.cshrc

RELATED INFORMATION

See the following command:  "csh."











Processed November 8, 1990        WHICH(1,C)                                  1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026