Getting help: man, info, /usr/share/doc
Sign in to read this lesson
No admin knows every option by heart — a good admin finds the answer quickly. In the RHCSA exam there is no internet, only the documentation on the server. In this lesson we learn to search man pages, section numbers, --help, info, and the sample files in /usr/share/doc.
What you will learn
man commandopens the documentation:/wordsearches,nnext,qquits;Gend,gstart.- Sections: 1 commands, 5 file formats (
man 5 fstab), 8 admin commands. man -k keyword(apropos) finds a command whose name you do not know; if it returns nothing, rebuild the index withsudo mandb.command --helpis a short summary;infois more detailed for some GNU tools./usr/share/doc/<package>/holds sample configuration files;rpm -qd packagelists a package's documents.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.