Analyze and Store Logs Flashcards
1
Q
What command review recorded log events from one time to another?
A
journal –since <Begin> --until <End></End></Begin>
2
Q
What command is used to restart the rsyslog?
A
systemctl restart rsyslog
3
Q
What command writes a message to a /var/log file using a facility?
A
logger -p <facility> "<string>"</string></facility>