Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-23 00:19:46 +00:00
parent 0cc7cfe867
commit 058ce19122
64 changed files with 437 additions and 86 deletions

View File

@@ -9,6 +9,14 @@ source: https://github.com/tldr-pages/tldr.git
> See also: `head`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html>.
- Show last 10 lines in a file:
`tail {{path/to/file}}`
- Show last 10 lines of multiple files:
`tail {{path/to/file1 path/to/file2 ...}}`
- Show last 'count' lines in file:
`tail {{[-n|--lines]}} {{count}} {{path/to/file}}`
@@ -29,6 +37,6 @@ source: https://github.com/tldr-pages/tldr.git
`tail {{[-F|--retry --follow]}} {{path/to/file}}`
- Show last 'count' lines in 'file' and refresh every 'seconds' seconds:
- Show last `count` lines in a file and refresh every `seconds` seconds:
`tail {{[-n|--lines]}} {{count}} {{[-s|--sleep-interval]}} {{seconds}} {{[-f|--follow]}} {{path/to/file}}`