home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: whatis Chapter 2
UNIX Commands
Next: Reference: who
 

which



/usr/ucb/which

 [

commands

]

List which files would be executed if the named commands had been run as a command. which reads the user's .cshrc file, checking aliases and searching the path variable. Users of the Bourne or Korn shells can use the built-in type command as an alternative.

Example

which cc ls
/usr/ucb/cc
ls:      aliased to ls -sFC


Previous: Reference: whatis UNIX in a Nutshell: System V Edition Next: Reference: who
Reference: whatis Book Index Reference: who

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru