diff --git a/pages/linux/journalctl.md b/pages/linux/journalctl.md index e447ec1df..6fb38e2c9 100644 --- a/pages/linux/journalctl.md +++ b/pages/linux/journalctl.md @@ -11,9 +11,9 @@ `journalctl --vacuum-time={{2d}}` -- [f]ollow new messages (like `tail -f` for traditional syslog): +- Show only the last N li[n]es and [f]ollow new messages (like `tail -f` for traditional syslog): -`journalctl -f` +`journalctl --lines {{N}} --follow` - Show all messages by a specific [u]nit: