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
Q

mail -s “Hey man” matt@yahoo.com

A

Send an email to matt@yahoo.com with subject “Hey man”

26
Q

mail -f /var/log/matt

A

check matt’s mail

27
Q

mail -u matt

A

check matt’s mail

28
Q

mailq

A

shows you all the messages in the mail queue

29
Q

Location of undelivered remote mail

A

/var/spool/mqueue

30
Q

Location of delivered mail for users

A

/var/spool/mail

31
Q

4 mail transfer agents

A

sendmail, exim, postfix, qmail

32
Q

Location containing configuration files for printers on a system

A

/etc/cups

33
Q

lpadmin

A

Used to configure CUPS

34
Q

lpr

A

Legacy program for sending files to the printer queues from the command line

35
Q

lpr -r

A

Delete original file after it is printed

36
Q

lpr -l

A

Verbose/Long mode

37
Q

cat /etc/services | lpr - #2

A

Prints the services file on the default printer 2 times

38
Q

lpq

A

Show printer queue status and manages printer queue status.

39
Q

/etc/printcap

A

Print queue definitions

40
Q

lprm

A

Removes one or more jobs from the printer queue.

41
Q

lprm -a

A

Remove all print jobs in the queue

42
Q

lprm -p

A

Specify queue name

43
Q

cupsdisable -c

A

Cancel all jobs on the named destination

44
Q

cupsdisable -m

A

Message

45
Q

ghostscript

A

A print filter to convert PostScript data for non-PostScript printers

46
Q

Location for LPD queue directory

A

/etc/spool/lpd