Unix file(1) utility

E130984

The Unix file(1) utility is a command-line program that identifies the type of a file by examining its contents rather than relying on its name or extension.

All labels observed (1)

Label Occurrences
Unix file(1) utility canonical 1

How this entity was disambiguated

Statements (59)

Predicate Object
instanceOf Unix command ⓘ
command-line utility ⓘ
program ⓘ
availableOn BSD ⓘ
Linux ⓘ
macOS ⓘ
many Unix-like systems ⓘ
canUseCustomMagicFile yes ⓘ
category diagnostic utility ⓘ
file system utility ⓘ
doesNotRelyOn file name extension ⓘ
identificationMethod examine file contents ⓘ
filesystem tests ⓘ
language tests ⓘ
magic number matching ⓘ
input file path ⓘ
standard input ⓘ
magicFileDefaultPath /usr/share/file/magic ⓘ
/usr/share/misc/magic ⓘ
operatingSystemFamily Unix ⓘ
Unix-like systems ⓘ
output MIME type (with options) ⓘ
human-readable description of file type ⓘ
primaryFunction identify file type ⓘ
standard POSIX ⓘ
standardInputSupport yes ⓘ
supportsCompressedFiles yes ⓘ
supportsMIMEDetection yes ⓘ
supportsOption -0 ⓘ
-C ⓘ
-E ⓘ
-F ⓘ
-L ⓘ
-M ⓘ
-N ⓘ
-P ⓘ
-S ⓘ
-b ⓘ
-e ⓘ
-f ⓘ
-h ⓘ
-i ⓘ
-k ⓘ
-m ⓘ
-n ⓘ
-p ⓘ
-r ⓘ
-s ⓘ
-v ⓘ
-z ⓘ
supportsPOSIXStandard yes ⓘ
supportsSymlinkDereference yes ⓘ
typicalUsageExample file -i filename ⓘ
file filename ⓘ
usedFor content-type detection ⓘ
debugging file formats ⓘ
shell scripting ⓘ
system administration ⓘ
usesDatabase magic file database ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Ian Darwin → contributedTo → Unix file(1) utility ⓘ