Essential System Services Flashcards

1
Q

Location of time zone files

A

/usr/share/zoneinfo

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

NTP configuration file

A

/etc/ntp.conf

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

ntpd

A

Daemon for NTP server

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

date

A

Print or set the system time and date

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

System file the system looks at to determine current time zone

A

/etc/timezone

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

ntpdate

A

Set and view the date abd time via NTP

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

hwclock -w

A

Set the hardware clock to the current system time

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

hwclock -s

A

Set the system time from hardware clock

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

pool.ntp.org

A

A virtual cluster of timeservers providing reliable easy to use NTP service

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

debug priority

A

Logs most detailed information

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

emerg priority

A

Logs most important information

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

err priority

A

Log regular errors

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

alert priority

A

Log messages classified as alert

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

logger

A

Used for manually logging data to the syslogd

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

logger -i

A

Returns process ID of logger process

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

logger -s

A

Output to standard error

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

logger -f

A

Send contents of your logging to log file

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

logger -p

A

Specify priority

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

logger -t

A

Change name of tag shown in log file

20
Q

syslogd

A

logging daemon

21
Q

klogd

A

Allows kernel logging to be conducted in standalone fashion or as a client of syslogd

22
Q

Configuration file for logrotate

A

/etc/logrotate

23
Q

What is the file that the “last” command displays?

A

/var/log/wtmp

24
Q

~/.forward

A

Where you put the server name, username, or email address that you would like mail from the account forwarded to

25
mail -s "Hey man" matt@yahoo.com
Send an email to matt@yahoo.com with subject "Hey man"
26
mail -f /var/log/matt
check matt's mail
27
mail -u matt
check matt's mail
28
mailq
shows you all the messages in the mail queue
29
Location of undelivered remote mail
/var/spool/mqueue
30
Location of delivered mail for users
/var/spool/mail
31
4 mail transfer agents
sendmail, exim, postfix, qmail
32
Location containing configuration files for printers on a system
/etc/cups
33
lpadmin
Used to configure CUPS
34
lpr
Legacy program for sending files to the printer queues from the command line
35
lpr -r
Delete original file after it is printed
36
lpr -l
Verbose/Long mode
37
cat /etc/services | lpr - #2
Prints the services file on the default printer 2 times
38
lpq
Show printer queue status and manages printer queue status.
39
/etc/printcap
Print queue definitions
40
lprm
Removes one or more jobs from the printer queue.
41
lprm -a
Remove all print jobs in the queue
42
lprm -p
Specify queue name
43
cupsdisable -c
Cancel all jobs on the named destination
44
cupsdisable -m
Message
45
ghostscript
A print filter to convert PostScript data for non-PostScript printers
46
Location for LPD queue directory
/etc/spool/lpd