From a97535491da8acd63ead92f092df491fed487974 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 3 May 2024 16:27:33 +0300 Subject: [PATCH] journalctl: update page (#12716) * Update journalctl.md * Update journalctl.md * Update journalctl.md --- pages/linux/journalctl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: