journalctl

Description

Query and display messages from the journal.

Command
journalctl
Examples
View recent logs
journalctl -n 50
Follow logs in real-time
journalctl -f
View logs for a specific service
journalctl -u nginx
Command Info
Category: Logging
Type: Linux
Views: 12
Status: Active
Tags
logs journal systemd