hash [ -p filename ] [ utility ... ]
hash -r
Description
The hash utility adds utility to the list of remembered utility locations or removes all remembered utilities from the list. By default, hash uses a path search to find utility.
When no arguments are specified, hash reports the contents of the list. An entry that has not been looked at since the last cd command is marked with an asterisk; it is possible for the entry to be invalid.
Options
Operands
Each utility is added to the list of remembered utility locations.
Exit Status
Related information