Command Line Help Flashcards

1
Q

standard manual pages

A

man

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

section 1

A

Executable programs and shell commands

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

section 2

A

System calls provided by the program libraries

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

section 3

A

Library calls provided by the program libraries

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

section 4

A

Device file (usually stored in /dev)

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

section 5

A

File formats

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

section 6

A

Games

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

section 7

A

misc

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

section 8

A

System administration commands (mostly or exclusively run by root

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

section 9

A

Kernel routines

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

how to get a specific man section

A

man num command

eg man 3 passwd

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

what is whatis

A

will return a one line summery for every command it finds after whatis

~$ whatis passwd

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

apropos

A

return documentation of everything that has whatever command written in it.

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

better way to write apropos

A

man -k

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

pageup in less

A

ctrl B

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

page down in less

A

ctrl V or space

17
Q

repeat previous search

A

n or /

18
Q

whats the newer documentation to the man system?

A

info pages

19
Q

move forward and backward between info pages

A

n for forward

p for prev

20
Q

common locations for a readme file from a zip

A

/usr/doc/packagename
/usr/share/doc/packagename
/usr/share/doc/packages/packagename

*packagename replaced with name of package

21
Q

some programs have config files, often stored where?

A

/etc