Article View: gnu.misc.discuss
Article #63100Re: Where is "which"?
From: Clint Olsen
Date: Mon, 13 Mar 1995 08:19
Date: Mon, 13 Mar 1995 08:19
19 lines
1422 bytes
1422 bytes
In article <COLEMAN.95Mar12232748@redwood.skiles.gatech.edu>, Richard Coleman <coleman@redwood.skiles.gatech.edu> wrote: >>> Where is the "which" command. I have raided the OS/2 archives, >>> but I cannot find a "which" in GNUSUTIL, GNUFUTIL and/or >>> GNUTUTIL. > >Eelco> And you won't: 'which' is an internal command from the >Eelco> C-shell and its derivatives (csh, tcsh). > > >Hmm.. I believe that "which" is typically a c-shell script. At >least it is on our system (Solaris 2.4). But it is also a builtin for >tcsh, zsh, (and probably bash, but I'm not sure). It is not limited >to derivatives of csh. You may also have a similar builtin called >"whence" which is what ksh uses. Bash's equivalent is called "type". -Clint
Technical Details
Message-ID:
<3k0v61$34h@nntp1.u.washington.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!nntp.cac.washington.edu!olsencReferences:
<3jfnjp$3f4@qualcomm.com> <D5AuDt.4yH@dutiws.twi.tudelft.nl> <COLEMAN.95Mar12232748@redwood.skiles.gatech.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,68ac9cf3ff2e3960 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1995-03-13 00:31:20 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!nntp.cac.washington.edu!olsenc From: olsenc@kodiak.ee.washington.edu (Clint Olsen) Newsgroups: gnu.misc.discuss Subject: Re: Where is "which"? Date: 13 Mar 1995 08:19:13 GMT Organization: University of Washington, Seattle Lines: 19 Message-ID: <3k0v61$34h@nntp1.u.washington.edu> References: <3jfnjp$3f4@qualcomm.com> <D5AuDt.4yH@dutiws.twi.tudelft.nl> <COLEMAN.95Mar12232748@redwood.skiles.gatech.edu> NNTP-Posting-Host: kodiak.ee.washington.edu