Show logs for a service unit.
Section: Service and Unit Filters
Logs for one unit
bash
bash
journalctl -u nginxExplanation
Most common service-level filter.
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 Service and Unit Filters