Read recent logs associated with one systemd unit.
Section: systemd Service Process Views
Show logs for a service
bash
bash
journalctl -u nginx -n 100 --no-pagerExplanation
Read recent logs associated with one systemd unit.
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 systemd Service Process Views
Show unit definition
Print the unit file and drop-ins defining a service.
Run transient service
Launch a one-off command as a transient service unit.