1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:22:07 +02:00
tldr/pages/common/hash.md
2025-03-26 00:36:41 +02:00

394 B

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}}

  • Display help:

hash --help