[pappy@chmodx]:$ man journalctl

$ journalctl

Query the systemd journal

DOCUMENTEDServicesUbuntu 24.04 LTS baseline

Synopsis

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

What it does

Examples

View recent journal entries
journalctl
Follow new entries
journalctl -f
View a service's logs
journalctl -u nginx
View logs from the current boot
journalctl -b

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.