Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-12 00:18:03 +00:00
parent 4ed84edbe1
commit ffbd8c31db
29 changed files with 244 additions and 70 deletions

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Look inside a zipped file and determine the file type(s) inside:
`file -z {{foo.zip}}`
`file {{[-z|--uncompress]}} {{foo.zip}}`
- Allow file to work with special or device files:
`file -s {{path/to/file}}`
`file {{[-s|--special-files]}} {{path/to/file}}`
- Don't stop at first file type match; keep going until the end of the file:
`file -k {{path/to/file}}`
`file {{[-k|--keep-going]}} {{path/to/file}}`
- Determine the MIME encoding type of a file:
`file -i {{path/to/file}}`
`file {{[-i|--mime]}} {{path/to/file}}`