This document provides instructions for getting help with Linux commands using the man command. It describes the different sections of the man pages and how to search for specific commands or strings. The man command can be used to view manual pages for built-in commands, system calls, library functions, device files, and more. The document also covers using man -f to find available man sections, man -k to search man page descriptions, and man -K to search man page contents.
2. Objective
• Use man Linux manual reader command
• use the pinfo / info command
• Default package documents
• Red Hat support-tool
• Online help tldp.org
• VGLUG
3. man ... (man sections )
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]
man man :)
5. man ...
• man -f command
• to get list of available man section of the command
[kiosk@foundation0 ~]$ man -f passwd
sslpasswd (1ssl) - compute password hashes
passwd (1) - update user's authentication tokens
passwd (5) - password file
6. man - find command from description
• man -k string
• to find available man pages related to the string
[kiosk@foundation0 ~]$ man -k "permission"
access (2) - check real user's permissions for a file
chmod (2) - change permissions of a file
console.perms (5) - permissions control file for users at the system console
eaccess (3) - check effective user's permissions for a file
euidaccess (3) - check effective user's permissions for a file
faccessat (2) - check user's permissions of a file relative to a direc...
fchmod (2) - change permissions of a file
fchmodat (2) - change permissions of a file relative to a directory f...
filetest (3pm) - Perl pragma to control the filetest permission operators
ioperm (2) - set port input/output permissions
pam_console_apply (8) - set or revoke permissions for users at the system con...
WWW::RobotRules (3pm) - database of robots.txt-derived permissions
Note : man -k search from database created with mandb command
8. man (navigation within man)
• G - Go to end of the man pages
• g - Go to the start of man pages
• /string - start search from current line to forward for string
• n - repeat previous search in forward direction
• N - repeat previous search in backward direction
• q - quit from man page