File
file erkennt den mime typ einer Datei
Syntax
file [Option] Filename
Beispiele
$ file file.c file.c: C program text
$ file program program: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
$ file /dev/wd0a /dev/wd0a: block special (0/0)
$ file -s /dev/hda1 /dev/hda1: Linux/i386 ext2 filesystem
$ file -s /dev/hda5 /dev/hda5: Linux/i386 swap file
$ file data.ppm data.ppm: Netpbm PPM "rawbits" image data