Getting Help at the Command Line Flashcards

1
Q

Which command tells you where the binary of the command resides

A

which

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command tells you where the documentation is for a command and also where the binary is?

A

whereis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command tells you what man pages it found and what the command does

A

whatis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command tells you how to use a command?

A

man pages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command lets you search man pages by keyword?

A

man -k

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What command takes you to man page section 5?

A

man 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you search/navigate between results in a man page?

A

Inside a man page, you can search with forward slash plus the keyword and move with the n or N

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the sections a man page has?

A

description, options, examples, errors, notes, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you move to the very end of a man page?

A

Shift g takes you to the very end of the document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does 35G do inside a man page?

A

35G inside a man page takes you to line 35

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does 1G do inside a man page?

A

1G takes you to the very top of the man page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does /usr/share/doc contain?

A

/usr/share/doc has 2 directories, one for packages and another for release notes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What URL can you visit for useful SUSE documentation?

A

documentation.suse.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly