home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16139 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.3 KB  |  36 lines

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