home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!agate!boulder!kinglear!drew
- From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
- Subject: Re: which(1) ? where-is-it : I-wrote-one
- Message-ID: <1992Nov9.144932.27093@colorado.edu>
- Sender: news@colorado.edu (The Daily Planet)
- Nntp-Posting-Host: kinglear.cs.colorado.edu
- Organization: University of Colorado at Boulder
- References: <9211082953@gandalf.moria>
- Date: Mon, 9 Nov 1992 14:49:32 GMT
- Lines: 23
-
- In article <9211082953@gandalf.moria> u31b3hs@pool.informatik.rwth-aachen.de (Michael Haardt) writes:
- >Hello,
- >
- >I just noted that the GNU shellutils don't include which(1). If there
- >is a version floating around, I would like to know where I can get it,
- >otherwise I offer to make mine (including manual page) available.
-
- Under bash, you can make it an alias -
-
- alias which='type -path'
-
- Under tcsh, it is a built in.
-
- If you are using ash as an interactive shell, I feel for you.
- Switch to bash for a Bourne shell or tcsh for a C shell.
-
-
-
- --
- Microsoft is responsible for propogating the evils it calls DOS and Windows,
- IBM for AIX (appropriately called Aches by those having to administer it), but
- marketing's sins don't come close to those of legal departments.
- Boycott AT&T for their absurd anti-BSDI lawsuit.
-