which: add Chinese translation
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
0a1a6d12b3
commit
81b4d931f3
11
pages.zh/common/which.md
Normal file
11
pages.zh/common/which.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# which
|
||||||
|
|
||||||
|
> 在用户的`PATH`中寻找可执行文件的路径
|
||||||
|
|
||||||
|
- 在`PATH`中寻找可执行文件并打印第一个匹配的结果:
|
||||||
|
|
||||||
|
`which {{executable}}`
|
||||||
|
|
||||||
|
- 如果有多个匹配结果则打印所有结果:
|
||||||
|
|
||||||
|
`which -a {{executable}}`
|
Reference in New Issue
Block a user