| Lesson 6 || Essential man options |
| Objective ||Match man Options to their Correct Descriptions. |
Match man Options to their Correct Descriptions
man command is highly idiosyncratic. For example, although many man page entries may exist for a specific command,
man command will return the first document that it finds if you use it without any arguments.
This feature can be misleading. You can, however, use many arguments to gain information that is more specific from the man pages.
As a systems administrator, you should be especially familiar with the following options:
man -a retrieves all manual pages for a specific command.
man -k conducts keyword searches for all manual pages.
man -S provides a comma-separated list of sections containing a specific command.
man -C specifies a customized man.conf file. For example, you could type the command
man -C policy,
which would then return a
man page you have created about your company's security policy to
security_policy which would use the private_man.config file and return a
page you created on your company's security policy.
man -M specifies the directories to search.
By typing unix manual pages , you can learn more about the details of the
Navigating a specific man page
For some reason, Linux does not follow this convention, and instead stores the preformatted pages in subdirectories of /var/catman.
Unix System Administration
Unix man options
Click the link below to observe essential
options and their correct descriptions.
Unix man options
The cat command displays one or more files on the standard output.
For example, the command cat file1 would display the contents of file1 on the output screen.