Linux:Befehl:file

Aus ITWiki
Zur Navigation springen Zur Suche springen

1 Bezeichnung

File Typ einer Datei erkennen

2 Übersicht

file [Option] Filename

3 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