mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 21:54:29 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open a text file with a specific encoding:
|
||||
|
||||
`gedit --encoding={{UTF-8}} {{path/to/file}}`
|
||||
`gedit --encoding {{UTF-8}} {{path/to/file}}`
|
||||
|
||||
- Display a list of supported encodings:
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tailf
|
||||
|
||||
> This command is superseded by `tail -f`.
|
||||
> This command has been superseded by `tail -f`.
|
||||
> More information: <https://manned.org/tailf.1>.
|
||||
|
||||
- View documentation for the recommended replacement:
|
||||
|
||||
Reference in New Issue
Block a user