Linux帮助文档
1、--help
一般是Linux命令自带的帮助信息
如:ls --help
2、man
man是linux提供的一个手册,包含了绝大多数的命令、函数使用说明
该手册分成许多章节(section),使用man时可以指定不同的章节来浏览。
例:man ls;
man 2 printf
man中的各个section意义如下:
(1)Standard commands(标准命令)
(2)System calls(系统调用,如open,write)
(3)Library function(库函数,如 printf,fopen)
(4)Special devices(设备文件的说明,/dev下的各种设备)
(5)File formats(文件格式,如passwd)
(6)Games and toys(游戏与娱乐)
(7) Miscellaneous(杂项、惯例与协定,如Linux档案系统,网络协定、ASSIC码、environ全局变量)
(8) Administrator Commands(管理员命令,如ifconfig)
功能键
功能
空格键
显示手册页的下一屏
回车键
一次滚动手册页的一行
b
回滚一屏
f
前滚一屏
q
退出man命令
h
列出所有功能键
/word
搜索word字符串
3、自动补全
敲出前几个字母,使用tab键
4、历史命令
history
内容来源于网络如有侵权请私信删除