Run journalctl -u nginx -n 4.
journalctl -u nginx -n 4
Number a narrowed service journal so evidence is easy to reference.
Text and logsjournalctlnl
Click any instruction for the command details, the why, and the common mistake to avoid.
Run journalctl -u nginx -n 4.
journalctl -u nginx -n 4
Run journalctl -u nginx -n 4 | nl.
journalctl -u nginx -n 4 | nl
Run systemctl status nginx.
systemctl status nginx
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Build repeatable confidence with narrowing and numbering service journal output.
Start with journalctl -u nginx -n 4, inspect the result, then continue in order.
Narrowing and numbering service journal output helps operators explain what they know before they change anything.
nl [file]
Number lines from a file or supported text pipeline.
journalctl -u <service>
Read simulated service journal entries.