mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
hash: add page (#15229)
This commit is contained in:
parent
b8145b82ec
commit
7439832aaf
1 changed files with 20 additions and 0 deletions
20
pages/common/hash.md
Normal file
20
pages/common/hash.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# hash
|
||||
|
||||
> View cached executable locations.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-hash>.
|
||||
|
||||
- View cached command locations for the current shell:
|
||||
|
||||
`hash`
|
||||
|
||||
- Clear the hash table:
|
||||
|
||||
`hash -r`
|
||||
|
||||
- Delete a specific command from the hash table:
|
||||
|
||||
`hash -d {{command}}`
|
||||
|
||||
- Print the full path of `command`:
|
||||
|
||||
`hash -t {{command}}`
|
Loading…
Add table
Reference in a new issue