macos 查看命令的文档
作者:互联网
5 Tricks to Get Instant Command Line Help in the Mac OS X Terminal
Command | Action / Results |
---|---|
man (command) |
Display the manual page for (command). eg: man lsof |
whatis (command) |
Display a one line brief summary of specified command. eg: whatis lsof |
(command) --help |
Display command usage information including available flags and proper syntax. eg: lsof –help |
apropos (string) |
Searches the whatis database for (string), helpful in finding commands. eg: apropos ssh |
(command)+tab key |
Begin typing a command, and hit the tab key to autocomplete, or to list available commands that start with the typed prefix. |
标签:macos,whatis,help,查看,eg,command,文档,lsof,Display 来源: https://www.cnblogs.com/zhouj-happy/p/12587129.html