Linux man命令的学习

man -f command

 等同于

whatis command

命令,这样你就可以知道man里面关于这个命令的所有章节都是什么,然后可以使用如下命令查看命令帮助!

man 章节号 command

例如:

man -f man           //命令执行结果
man                  (1)  - format and display the on-line manual pages
man                  (1p)  - display system documentation
man                  (7)  - macros to format man pages
man.config [man]     (5)  - configuration data for man
man [manpath]        (1)  - format and display the on-line manual pages
man-pages            (7)  - conventions for writing Linux man pages
man 7 man

 

posted @ 2015-01-16 15:41  yidabang  阅读(193)  评论(0编辑  收藏  举报