Linux journalctl Cheat Sheet/Logs in time range

Filter by start and end times.

Section: Time and Boot Filters

Logs in time range

bash
bash
journalctl --since "1 hour ago" --until "now"
Explanation

Useful for narrow incident windows.

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
Logs since a time
Filter by starting time.
OpenIn sheetbashsame section
List boots
Show known boot sessions.
OpenIn sheetbashsame section
Current boot logs
Show logs from the current boot only.
OpenIn sheetbashsame section
Previous boot logs
Inspect the prior boot session.
OpenIn sheetbashsame section
Vacuum journal by age
Delete archived logs older than a time window.
OpenIn sheetbash2 tag match
Show journal logs
Print the journal from oldest to newest by default.
OpenIn sheetbash1 tag match