Getting Help at the Command Line Flashcards
Which command tells you where the binary of the command resides
which
What command tells you where the documentation is for a command and also where the binary is?
whereis
What command tells you what man pages it found and what the command does
whatis
What command tells you how to use a command?
man pages
What command lets you search man pages by keyword?
man -k
What command takes you to man page section 5?
man 5
How do you search/navigate between results in a man page?
Inside a man page, you can search with forward slash plus the keyword and move with the n or N
What are the sections a man page has?
description, options, examples, errors, notes, etc.
How do you move to the very end of a man page?
Shift g takes you to the very end of the document
What does 35G do inside a man page?
35G inside a man page takes you to line 35
What does 1G do inside a man page?
1G takes you to the very top of the man page
What does /usr/share/doc contain?
/usr/share/doc has 2 directories, one for packages and another for release notes
What URL can you visit for useful SUSE documentation?
documentation.suse.com