mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 09:53:25 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Output the first few lines of a file:
|
||||
|
||||
`head --lines {{count}} {{path/to/file}}`
|
||||
`head {{[-n|--lines]}} {{count}} {{path/to/file}}`
|
||||
|
||||
- Output the first few bytes of a file:
|
||||
|
||||
`head --bytes {{count}} {{path/to/file}}`
|
||||
`head {{[-c|--bytes]}} {{count}} {{path/to/file}}`
|
||||
|
||||
- Output everything but the last few lines of a file:
|
||||
|
||||
`head --lines -{{count}} {{path/to/file}}`
|
||||
`head {{[-n|--lines]}} -{{count}} {{path/to/file}}`
|
||||
|
||||
- Output everything but the last few bytes of a file:
|
||||
|
||||
`head --bytes -{{count}} {{path/to/file}}`
|
||||
`head {{[-c|--bytes]}} -{{count}} {{path/to/file}}`
|
||||
|
||||
Reference in New Issue
Block a user