1WHICH(1)                    General Commands Manual                   WHICH(1)
2
3
4

NAME

6       which - locate a program file including aliases and paths (csh only)
7

SYNOPSIS

9       which [ name ] ...
10

DESCRIPTION

12       Which takes a list of names and looks for the files which would be exe‐
13       cuted had these  names  been  given  as  commands.   Each  argument  is
14       expanded  if  it  is  aliased,  and searched for along the user's path.
15       Both aliases and path are taken from the user's .cshrc file.
16

FILES

18       ~/.cshrc  source of aliases and path values
19

DIAGNOSTICS

21       A diagnostic is given for names which are aliased to more than a single
22       word,  or if an executable file with the argument name was not found in
23       the path.
24

BUGS

26       Must be executed by a csh, since only csh's know about aliases.
27
28
29
303rd Berkeley Distribution       April 29, 1985                        WHICH(1)
Impressum