August 2000
Intermediate to advanced
816 pages
29h 45m
English
hash
hash [-r] [commands]
Search for commands and remember the directory in which each command resides. Hashing causes the shell to remember the association between a “name” and the absolute pathname of an executable, so that future executions don’t require a search of PATH. 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 command (the full pathname).
Read now
Unlock full access