tldr/pages/common/file.md

12 lines
244 B
Markdown
Raw Normal View History

2015-12-29 06:47:17 +03:00
# file
> Determine file type
2015-12-29 08:33:04 +03:00
- Give a description of the type of the specified file. Works fine for files with no file extension.
2015-12-29 06:47:17 +03:00
2015-12-29 08:33:04 +03:00
`file {{filename}}`
2015-12-29 06:47:17 +03:00
- Look inside a zipped file and determine the file type(s) inside
2015-12-29 08:33:04 +03:00
`file -z {{foo.zip}}`