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

View File

@@ -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}}`