Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-14 00:18:04 +00:00
parent 5f589d2ead
commit 9304a1c1bb
51 changed files with 121 additions and 54 deletions

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- Show all messages with priority level 3 (errors) from this [b]oot:
`journalctl -b --priority={{3}}`
`journalctl -b --priority=3`
- Delete journal logs which are older than 2 days:
`journalctl --vacuum-time={{2d}}`
`journalctl --vacuum-time=2d`
- Show only the last N li[n]es and [f]ollow new messages (like `tail -f` for traditional syslog):