標籤:
在紅帽企業LINUX中擷取協助
在紅帽企業LINUX中擷取協助
whatis
man
--help
Pinfo
sosreport
/usr/share/doc
使用man命令讀取文檔
[[email protected] xx]# man man
1 Executable programs or shell commands 使用者命令(可執行命令和shell程式)
2 System calls (functions provided by the kernel) 系統調用(從使用者空間調用的核心常式)
3 Librarycalls (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]Linux 核心API (核心調用)
空格鍵 向前(向下)滾動一個螢幕
PageDown 向前(向下)滾動一個螢幕
PageUp 向後(向上)滾動一個螢幕
向下方向鍵 向前(向下)滾動一行
向上方向鍵 向後(向上)滾動一行
d 向前(向下)滾動半個螢幕
u 向後(向上)滾動半個螢幕
/string 在man page中向前搜尋string
n 向下搜尋
N 向上搜尋
g 轉到man page的開頭
G 轉到man page的結尾
q 退出man
關鍵字搜尋
Man –k
[[email protected] ~]$ man -k passwd
chpasswd (8) - 批次更新密碼
gpasswd (1) - 管理員 /etc/group 和 /etc/gshadow
fgetpwent_r (3) - get passwd file entry reentrantly
getpwent_r (3) - get passwd file entry reentrantly
grub2-mkpasswd-pbkdf2 (1) - Generate aPBKDF2 password hash.
lpasswd (1) - Change group or user password
lppasswd (1) - add, change, or delete digestpasswords.
pam_localuser (8) - require users to be listed in /etc/passwd
passwd (1) - update user‘s authenticationtokens
sslpasswd (1ssl) - compute password hashes
passwd (5) - password file
passwd2des (3) - RFS password encryption
pwhistory_helper (8) - Helper binary thattransfers password hashes from pass...
saslpasswd2 (8) - set a user‘s sasl password
smbpasswd (5) - The Samba encrypted password file
userpasswd (1) - A graphical tool to allow users tochange their passwo...
vncpasswd (1) - change the VNC password
為passwd manpage 建立格式化輸出檔案
[[email protected] xx]# rm -rf passwd.ps
[[email protected] xx]# man -t passwd>passwd.ps
[[email protected] xx]# ls
passwd.ps
[[email protected] xx]# file passwd.ps
passwd.ps: PostScript document textconforming DSC level 3.0
[[email protected] doc]$ firefox file:///usr/share/doc
3在紅帽企業LINUX中擷取協助