mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
whereis: add Chinese translation
This commit is contained in:
parent
6448f9fdb2
commit
163a34e1d6
1 changed files with 19 additions and 0 deletions
19
pages.zh/osx/whereis.md
Normal file
19
pages.zh/osx/whereis.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# whereis
|
||||
|
||||
> 找到命令的二进制,源文件和手册文件.
|
||||
|
||||
- 找到 `ssh` 命令的二进制、源文件和手册页:
|
||||
|
||||
`whereis {{ssh}}`
|
||||
|
||||
- 查找 `ls` 命令的二进制和手册页:
|
||||
|
||||
`whereis -bm {{ls}}`
|
||||
|
||||
- 找到 `gc` 的源文件和 `git` 的手册页:
|
||||
|
||||
`whereis -s {{gcc}} -m {{git}}`
|
||||
|
||||
- 仅在 /usr/bin/ 目录中查找 `gcc` 的二进制文件:
|
||||
|
||||
`whereis -b -B {{/usr/bin/}} -f {{gcc}}`
|
Loading…
Add table
Reference in a new issue