Review Syslog Files Flashcards
1
Q
What command is used to restart the rsyslog service?
A
systemctl restart rsyslog
2
Q
What command is used to generate a log message with a type and priority?
A
logger -p <user>.<priority></priority></user>
3
Q
What command is used to view the last ten log messages of var log files?
A
tail /var/log/messages-<priority></priority>