Hash: view cached executable locations
ยท
108 words
ยท
1 minute read
What is ‘hash’ ? ๐
View cached executable locations.
Usage ๐
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
Display help:
hash --help
More information: https://www.gnu.org/software/bash/manual/bash.html#index-hash .
I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .