MODULE 6- Getting Help Flashcards
Which Linux tool displays built-in documentation for commands modeled after UNIX manuals?
man command (manual pages)
Which command shows the man page for the ls command?
man ls
What key do you press to exit a man page viewer?
Q key
Which keys allow you to scroll through a man page?
Arrow keys
Which key shows help for navigation while inside a man page?
H key
Which software is commonly used as a pager to view man pages?
less (or sometimes more)
What part of the man page typically describes how to run the command with options?
The SYNOPSIS section
Which section suggests related commands or further documentation sources?
SEE ALSO
Which section of a man page provides examples of how to run a command with its options and arguments?
SYNOPSIS
What does the square bracket [ ] in a SYNOPSIS indicate about an option or argument?
It is optional—not required for the command to function.
Which character do you type to begin searching for a term inside a man page?
/
Which key takes you to the next match in a man page search?
n
Which key takes you to the previous match in a man page search?
Shift + N
What are man pages categorized by to manage the thousands of available entries?
Sections
How many standard man page sections exist in most Linux distributions?
Nine
Which section contains user-level commands like ls or cal?
→ Section 1 - General Commands
Which section contains file formats like /etc/passwd?
→ Section 5 - File Formats and Conventions
Which section includes system administration commands?
→ Section 8
Which command displays all matching man pages and their section numbers for a given command?
man -f (or whatis)
What command would you use to view the man page for the passwd file instead of the command?
→ man 5 passwd
What does the output PASSWD(5) at the top of a man page tell you?
That the man page is in Section 5, related to file formats.
If a man page exists in multiple sections, how do you choose the one you want?
→ By specifying the section number as the first argument to man.
Which option helps you when you don’t remember the exact name of a man page?
-k or apropos, as they search names and descriptions for keywords.
Which man option searches both names and descriptions of man pages using a keyword?
man -k (or apropos)