From 7439832aaf78eb2a410e81ec5139d4f1b5ca183e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 26 Dec 2024 09:17:11 +0200 Subject: [PATCH] hash: add page (#15229) --- pages/common/hash.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/hash.md diff --git a/pages/common/hash.md b/pages/common/hash.md new file mode 100644 index 000000000..6a0dfcb6d --- /dev/null +++ b/pages/common/hash.md @@ -0,0 +1,20 @@ +# hash + +> View cached executable locations. +> More information: . + +- 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}}`