From 81b4d931f36bb821e9d299de8b4a310958ac77cf Mon Sep 17 00:00:00 2001 From: KsRyY Date: Wed, 14 Aug 2019 22:43:23 +0800 Subject: [PATCH] which: add Chinese translation --- pages.zh/common/which.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages.zh/common/which.md diff --git a/pages.zh/common/which.md b/pages.zh/common/which.md new file mode 100644 index 000000000..3c5be5e04 --- /dev/null +++ b/pages.zh/common/which.md @@ -0,0 +1,11 @@ +# which + +> 在用户的`PATH`中寻找可执行文件的路径 + +- 在`PATH`中寻找可执行文件并打印第一个匹配的结果: + +`which {{executable}}` + +- 如果有多个匹配结果则打印所有结果: + +`which -a {{executable}}`