xref: /386bsd/usr/share/man/cat1/which.0 (revision a2142627)
1WHICH(1)                    386BSD Reference Manual                   WHICH(1)
2
3NNAAMMEE
4     wwhhiicchh - locate a program file including aliases and paths (csh(1))  only)
5
6SSYYNNOOPPSSIISS
7     wwhhiicchh [_n_a_m_e] ...
8
9DDEESSCCRRIIPPTTIIOONN
10     WWhhiicchh takes a list of names and looks for the files which would be
11     executed had these names been given as commands.  Each argument is
12     expanded if it is aliased, and searched for along the user's path.  Both
13     aliases and path are taken from the user's ._c_s_h_r_c file.
14
15FFIILLEESS
16     ~/.cshrc  source of aliases and path values
17
18DDIIAAGGNNOOSSTTIICCSS
19     A diagnostic is given for names which are aliased to more than a single
20     word, or if an executable file with the argument name was not found in
21     the path.
22
23BBUUGGSS
24     Must be executed by a csh(1),  or some other shell which knows about
25     aliases.
26
27HHIISSTTOORRYY
28     The wwhhiicchh command appeared in 3.0BSD.
29
303rd Berkeley Distribution       April 23, 1991                               1
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67