Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

journalctl

View system logs

Syntax

journalctl [OPTIONS...] [MATCHES...]

Common Options

-uShow unit logs
-fFollow in real-time
-nShow last N lines
--sinceSince time
--untilUntil time
-eJump to end
--no-pagerNo pager
-bFilter by boot number

Common Examples

journalctl -u nginx

View nginx logs

journalctl -f

Follow logs

journalctl --since "1 hour ago"

Last hour logs

Related Commands

Related Tools

More Code & Dev Tools