Essential System Services Flashcards Preview

Linux+ (LXO-104) > Essential System Services > Flashcards

Flashcards in Essential System Services Deck (46):
1

Location of time zone files

/usr/share/zoneinfo

2

NTP configuration file

/etc/ntp.conf

3

ntpd

Daemon for NTP server

4

date

Print or set the system time and date

5

System file the system looks at to determine current time zone

/etc/timezone

6

ntpdate

Set and view the date abd time via NTP

7

hwclock -w

Set the hardware clock to the current system time

8

hwclock -s

Set the system time from hardware clock

9

pool.ntp.org

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

10

debug priority

Logs most detailed information

11

emerg priority

Logs most important information

12

err priority

Log regular errors

13

alert priority

Log messages classified as alert

14

logger

Used for manually logging data to the syslogd

15

logger -i

Returns process ID of logger process

16

logger -s

Output to standard error

17

logger -f

Send contents of your logging to log file

18

logger -p

Specify priority

19

logger -t

Change name of tag shown in log file

20

syslogd

logging daemon

21

klogd

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

22

Configuration file for logrotate

/etc/logrotate

23

What is the file that the "last" command displays?

/var/log/wtmp

24

~/.forward

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