which-locates a command and displays its pathname or alias (UCB)

 <  Day Day Up  >  

which ” locates a command and displays its pathname or alias (UCB)

 which [ filename ] 

which takes a list of names and looks for the files that would be executed had the names been given as commands. Each argument is expanded if it is aliased, and searched for along the user's path. Both aliases and path are taken from the user 's . cshrc file. Only .cshrc file is used.

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net