Wednesday, January 29, 2025

boot logs and more with journalctl

On machines with systemd, we see systemd logs with journalctl - How to Read and Edit Systemd Logs using Journalctl in linux

journalctl -b -1 for previous boot logs.

These still work - 
tail /var/log/syslog
tail /var/log/dmesg 

Other logs still seen in /var/log are auth.log and boot.log
-----------------
On newer systems, there is no /var/log/syslog
- /var/log/syslog does not exist.


journalctl -r for reverse chronological order.

spacebar to move forward, b to move backward.


No comments:

Post a Comment