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:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user