Linux journalctl Cheat Sheet/Previous boot logs

Inspect the prior boot session.

Section: Time and Boot Filters

Previous boot logs

bash
bash
journalctl -b -1
Explanation

Very useful after crash or reboot analysis.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Time and Boot Filters
Current boot logs
Show logs from the current boot only.
OpenIn sheetbashsame section
List boots
Show known boot sessions.
OpenIn sheetbashsame section
Logs since a time
Filter by starting time.
OpenIn sheetbashsame section
Logs in time range
Filter by start and end times.
OpenIn sheetbashsame section
Kernel logs for current boot
Show current-boot kernel messages.
OpenIn sheetbash2 tag match
Show journal logs
Print the journal from oldest to newest by default.
OpenIn sheetbash1 tag match