Essential System Services Flashcards
Location of time zone files
/usr/share/zoneinfo
NTP configuration file
/etc/ntp.conf
ntpd
Daemon for NTP server
date
Print or set the system time and date
System file the system looks at to determine current time zone
/etc/timezone
ntpdate
Set and view the date abd time via NTP
hwclock -w
Set the hardware clock to the current system time
hwclock -s
Set the system time from hardware clock
pool.ntp.org
A virtual cluster of timeservers providing reliable easy to use NTP service
debug priority
Logs most detailed information
emerg priority
Logs most important information
err priority
Log regular errors
alert priority
Log messages classified as alert
logger
Used for manually logging data to the syslogd
logger -i
Returns process ID of logger process
logger -s
Output to standard error
logger -f
Send contents of your logging to log file
logger -p
Specify priority
logger -t
Change name of tag shown in log file
syslogd
logging daemon
klogd
Allows kernel logging to be conducted in standalone fashion or as a client of syslogd
Configuration file for logrotate
/etc/logrotate
What is the file that the “last” command displays?
/var/log/wtmp
~/.forward
Where you put the server name, username, or email address that you would like mail from the account forwarded to