1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 15:05:59 +02:00

journalctl: emphasize command line argument in example descriptions (#5913)

This commit is contained in:
Patrick Kostas 2021-05-09 19:54:42 +02:00 committed by GitHub
parent b385ca3629
commit 976e9606cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,23 +2,23 @@
> Query the systemd journal.
- Show all messages from this boot:
- Show all messages from this [b]oot:
`journalctl -b`
- Show all messages from last boot:
- Show all messages from last [b]oot:
`journalctl -b -1`
- Show all messages with priority level 3 (errors) from this boot:
- Show all messages with priority level 3 (errors) from this [b]oot:
`journalctl -b --priority={{3}}`
- Follow new messages (like `tail -f` for traditional syslog):
- [f]ollow new messages (like `tail -f` for traditional syslog):
`journalctl -f`
- Show all messages by a specific unit:
- Show all messages by a specific [u]nit:
`journalctl -u {{unit}}`