Documentation Flashcards

1
Q

What is the command to update index documentation cache in /usr/share/man?

A

mandb

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

What is the alternative command to man?

A

info

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

Where are info pages located?

A

/usr/share/info

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

What is a location where third party documents could be stored?

A

/usr/share/doc

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

Within info utility how do you go between nodes?

A

n - next node
p - previous node
l - last (recent) node
? - legend

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

How would you search for files on the system by name?

A

locate

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

How would you update the database for locate?

A

updatedb

*run once a day by cron

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

How do you get the full absolute path of a program?

A

which

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

How do you find the description of a command?

A

man -f

whatis

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

How do you search manual page descriptions containing a command?

A

man -k

apropos

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

How do you locate the binary, source an man page files for a command?

A

whereis

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

What is the rpm command to see the documentation of an rpm?

A

rpm -qd

*lists documentation and man page files

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