journalctl: update page (#12716)

* Update journalctl.md

* Update journalctl.md

* Update journalctl.md
pull/28/head
Managor 2024-05-03 16:27:33 +03:00 committed by GitHub
parent 18424b0a7e
commit a97535491d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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: