knowledge/technology/applications/cli/system/file.md
2024-01-17 09:00:45 +01:00

1 KiB
Raw Blame History

obj repo wiki website
application https://github.com/file/file https://en.wikipedia.org/wiki/File_(command) https://darwinsys.com/file

file

determine file / MIME type
Usage: file [OPTION] [FILE]...

Options

Option Description
-b, --brief Do not prepend filenames to output lines (brief mode)
-i, --mime Causes the file command to output mime type strings rather than the more traditional human readable ones. Thus it may say text/plain; charset=us-ascii rather than "ASCII text"