get messages from last 24h (paged) with tail
Jump to:
Description
We can do the following to see the last 20 messages in the logs:
tail -n 20 /var/log/syslog
What command can we issue to see messages in the last 1 hour, last 24 hours, etc.?
We can do the following to see the last 20 messages in the logs:
tail -n 20 /var/log/syslog
What command can we issue to see messages in the last 1 hour, last 24 hours, etc.?
Comments
#1