mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 06:51:34 +00:00
Update cheatsheets
This commit is contained in:
@@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- [d]elete lines 1 to 5 of a file and back up the original file with a `.orig` extension:
|
||||
|
||||
`sed {{[-i|--in-place=]}}{{.orig}} '1,5d' {{path/to/file}}`
|
||||
`sed {{[-i|--in-place=]}}.orig '1,5d' {{path/to/file}}`
|
||||
|
||||
- [p]rint only the first line to `stdout`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user