Computer Tips - journalctl: How can I only see recent entries
Date: 2018oct30
Update: 2024nov1
OS: LinuxKeywords: systemd
Q. journalctl: How can I only see recent entries
A. By default it shows everything since the start of its logs.
You can use the -b option to only see entries since this boot.
journalctl -b
Or
journalctl -b | less
Or
journalctl --lines=100 -b -u postfix Last 100 lines for the `postfix` unit