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: hash Chapter 4
The Bourne Shell and Korn Shell
Next: Reference: history





] [



Bourne shell version. Search for commands and remember the directory in which each command resides. Before a new shell program has been hashed, it can be executed only from the directory in which it was created. Hashing a command allows it to be run from any directory. (Hashing a command adds it to a list of commands "known" to the shell.) Commands must also be hashed if you change your PATH variable. - removes commands from the hash list, either all of them or just the specified commands . With no arguments, hash lists the current hashed commands. The display shows hits (the number of times the command is called by the shell) and cost (the level of work needed to find the command).

Previous: Reference: hash UNIX in a Nutshell: System V Edition Next: Reference: history
Reference: hash Book Index Reference: history

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