compgen, eval, export, file: move to common (#6508)

This commit is contained in:
marchersimon
2021-09-13 15:24:42 +02:00
committed by GitHub
parent efeee14594
commit ac46610ce6
13 changed files with 2 additions and 78 deletions

24
pages/common/file.md Normal file
View File

@@ -0,0 +1,24 @@
# file
> Determine file type.
> More information: <https://manned.org/file>.
- Give a description of the type of the specified file. Works fine for files with no file extension:
`file {{filename}}`
- Look inside a zipped file and determine the file type(s) inside:
`file -z {{foo.zip}}`
- Allow file to work with special or device files:
`file -s {{filename}}`
- Don't stop at first file type match; keep going until the end of the file:
`file -k {{filename}}`
- Determine the mime encoding type of a file:
`file -i {{filename}}`