mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 05:46:03 +02:00
journalctl: emphasize command line argument in example descriptions (#5913)
This commit is contained in:
parent
b385ca3629
commit
976e9606cf
1 changed files with 5 additions and 5 deletions
|
@ -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}}`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue