systemd and journalctl cheatsheet
systemd and journalctl: Logs with journalctl
9 common systemd and journalctl tasks.
Show errors from this boot
Show messages of priority error and worse since the last boot.
journalctl -b -p err
Show the previous boot's logs
Read logs from the boot before this one, for example after a crash.
journalctl -b -1
Delete old logs
Remove journal entries older than seven days.
sudo journalctl --vacuum-time=7d
Caution: Deleted log entries cannot be recovered.