journalctl
Linux · System · available in the simulator
What it does
Query and view system logs managed by systemd.
Syntax
journalctl [opciones]
Options and parameters
-uShow logs for the specified unit.
journalctl -u nginx-fFollow new log entries in real time.
-nShow the specified number of recent lines.
journalctl -n 100-bShow logs from the current boot.
-pFilter by message priority, for example err.
journalctl -p err -b--sinceFilter entries starting from the specified date/time.
journalctl --since "2026-01-01"
Usage examples
journalctl -u nginxjournalctl -n 100journalctl -p err -bjournalctl --since "2026-01-01"