journalctl: emphasize command line argument in example descriptions (#5913)
This commit is contained in:
@@ -2,23 +2,23 @@
|
|||||||
|
|
||||||
> Query the systemd journal.
|
> Query the systemd journal.
|
||||||
|
|
||||||
- Show all messages from this boot:
|
- Show all messages from this [b]oot:
|
||||||
|
|
||||||
`journalctl -b`
|
`journalctl -b`
|
||||||
|
|
||||||
- Show all messages from last boot:
|
- Show all messages from last [b]oot:
|
||||||
|
|
||||||
`journalctl -b -1`
|
`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}}`
|
`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`
|
`journalctl -f`
|
||||||
|
|
||||||
- Show all messages by a specific unit:
|
- Show all messages by a specific [u]nit:
|
||||||
|
|
||||||
`journalctl -u {{unit}}`
|
`journalctl -u {{unit}}`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user