常用的帮助命令

[| 不指定 2007/10/12 15:08]
| |
常用的帮助命令
man info --help
引用

------------------------------------
man -f (full) 等效于 whatis
------------------------------------
[root@kook ~]# man -f fstab
fstab                (5)  - static information about the filesystems
fstab-decode         (8)  - run a command with fstab-encoded arguments
man -k (keyword) 等效于 apropos
------------------------------------
[root@kook ~]# man -k fstab
------------------------------------
endfsent [getfsent]  (3)  - handle fstab entries
fstab                (5)  - static information about the filesystems
fstab-decode         (8)  - run a command with fstab-encoded arguments
getfsent             (3)  - handle fstab entries
getfsfile [getfsent] (3)  - handle fstab entries
getfsspec [getfsent] (3)  - handle fstab entries
nfs                  (5)  - nfs and nfs4 fstab format and options
setfsent [getfsent]  (3)  - handle fstab entries

一些常用法。

------------------------------------
一:查找passwd的文件格式
------------------------------------
[root@kook ~]# man -f passwd
passwd               (1)  - update a user's authentication tokens(s)
passwd               (5)  - password file
passwd.nntp [passwd] (5)  - passwords for connecting to remote NNTP servers
passwd              (rpm) - The passwd utility for setting/changing passwords using PAM
passwd [sslpasswd]   (1ssl)  - compute password hashes
[root@kook ~]# man 5 passwd
------------------------------------
二:查找和卷标相关的命令
------------------------------------
[root@kook ~]# man -k label
e2label              (8)  - Change the label on an ext2/ext3 filesystem
findfs               (8)  - Find a filesystem by label or UUID
mlabel               (1)  - make an MSDOS volume label
ppmlabel             (1)  - add text to a PPM image
vol_id               (8)  - probe filesystem type and read label and uuid


有些命令可能在手册种1-8中都有所涵盖,直接用man passwd得到就是命令的使用方法,当你想查找/etc/passwd这个文件的man的相关情况的话,就需要用man 5 passwd才能得到。所以,可以先用man -f command得到这个在各个手册中的存在情况。用于定位。
引用

1:用户指令
2:系统调用
3:程序库
4:设备说明
5:文件格式
6:游戏
7:杂项
8:系统指令
9:内核
另:Tcl/Tk


本文链接:http://www.52zhe.cn/read.php/110.htm
本文作者:kook(若就博客内所涉及的技术问题交流,请用下面的MSN或Gmail联系我)
联系方式:(MSN:kook#live.com) (Google talk:kookliu)
没有版权:GNU,转载时请注明“转载人”欠本人一顿饭,来日见面之时兑现!谢谢合作!
by kook | 分类: RHCE | 评论(0) | 引用(0) | 阅读(1136)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]