Show journal entries for a specific systemd unit.
Section: Services systemd and Journal
View logs for a service
bash
bash
journalctl -u nginx -n 100 --no-pagerExplanation
A standard service-specific log query on systemd systems.
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 Services systemd and Journal