journalctl -b -1

Category: Administration

journalctl -b -1

Show journal entries from the previous boot

Shows log entries from the boot session before the current one — useful for investigating problems before a reboot.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.