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:
parent
b385ca3629
commit
976e9606cf
1 changed files with 5 additions and 5 deletions
|
@ -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}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue