linux命令的帮助信息:
ls -i 显示文件所在inode节点(index node)
内部命令:help 【command】
外部命令:【command】 --help
cd 切换命令
which 查看命令所在的路径
查看全部帮助文档
man 【command】
pagedown:向下翻页
pageup:向上翻页
/word:从上往下查找关键字
?word:从下往上查找关键字
q:退出
man目录说明:
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
1可执行程序或shell命令
2个系统调用(内核提供的函数)
3个库调用(程序库中的函数)
4个特殊文件(通常在/dev中找到)
5文件格式和约定,例如/etc/passwd
6场比赛
7杂项(包括宏包和约定),例如man(7)、groff(7)
8个系统管理命令(通常仅适用于root)
9内核例程[非标准]
man 使用说明:
name :命令名称及简要用法
synopsis:语法格式,可能包括一些选项的使用
description:命令选项的详细使用
exit status 退出状态
reportiong bugs :发现bug反馈信息
options :选项的详细用法
whatis:查看命令所在的帮助信息目录,该命令再系统启动大约70分钟后会生成whatis的数据库,如果时间太短,该命令不会执行,我们可以用makewhatis初始化该命令。
man手册页
pwd:print working directory:侠士单签所处的工作目录