add new chinese translations
This commit is contained in:
20
pages.zh/common/hash.md
Normal file
20
pages.zh/common/hash.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# hash
|
||||
|
||||
> 查看缓存的可执行文件位置。
|
||||
> 更多信息:<https://www.gnu.org/software/bash/manual/bash.html#index-hash>。
|
||||
|
||||
- 查看当前 shell 的缓存命令位置:
|
||||
|
||||
`hash`
|
||||
|
||||
- 清空哈希表:
|
||||
|
||||
`hash -r`
|
||||
|
||||
- 从哈希表中删除特定命令:
|
||||
|
||||
`hash -d {{command}}`
|
||||
|
||||
- 打印 `command` 的完整路径:
|
||||
|
||||
`hash -t {{command}}`
|
Reference in New Issue
Block a user