Chap 1 Flashcards

1
Q

What are the essential tasks of a sysadmin ?

A

Controlling access

Adding hardware

Automating tasks

Overseeing backups

Installing and upgrading software

Monitoring

Troubleshooting

Maintaining local documentation

Vigilantly monitoring security

Tuning performance

Developing site policies

Working with vendors

Fire fighting

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

What to learn as prerequisite ?

A
vi 
Bash
Python or Ruby
expect
regular expressions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How many sections do the man pages have ?

A

9

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

What is the section 1 of the man pages ?

A

User Level Commands and Applications

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

What is the section 2 of the man pages

A

System Calls and Kernel Error Codes

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

What is the section 3 of the man pages

A

Library Calls

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

What is the section 4 of the man pages about ?

A

Device Drivers and Network protocols

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

What is the section 5 of the man pages

A

Standard files formats

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

What is the section 6 of the man pages

A

Games and demonstrations

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

What is the section 7 of the man pages

A

Miscellaneous files and documents

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

What is the section 8 of the man pages ?

A

System Administration Commands

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

What is the section 9 of the man pages ?

A

Obscure kernel specs and interfaces

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

How to find something in a specific section of man ?

A

man [sectionnumber] something

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

How to list man pages that have a keyword in their one-line synopses ?

A

man -k keyword

apropos keyword

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

The keywords database can become outdated. If you add additional man pages to your system, you may need to rebuild this file. Which command will help you to do this ?

A

makewhatis (Red Hat and FreeBSD)

mandb (Ubuntu).

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

Where are man source code stored ?

A

/usr/share/man

17
Q

Which format is used by man source code pages ?

A

NROFF input

Compressed with gzip

18
Q

Where is the cache of formatted man pages stored ?

A

/var/cache/man or /usr/share/man if the appropriate directories are writable.

19
Q

Which man page repositories are searched by the command man ?

A

The envvar $MANPATH

command: manpath