file: Unterschied zwischen den Versionen

Aus Mikiwiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: Der Shell-Befehl <b>file</b> zeigt Informationen das Dateiformat bzw. den Inhalt einer Datei. {{cat|Datei}} {{cat|Dateiformat}} {{cat|Shell-Befehl}})
 
Zeile 1: Zeile 1:
 
Der [[Shell-Befehl]] <b>file</b> zeigt Informationen das [[Dateiformat]] bzw. den Inhalt einer [[Datei]].
 
Der [[Shell-Befehl]] <b>file</b> zeigt Informationen das [[Dateiformat]] bzw. den Inhalt einer [[Datei]].
 +
 +
== Verwendung ==
 +
 +
Mögliche Ausgaben sind je nach Datentyp beispielsweise die folgenden:
 +
 +
$ <b>file *</b>
 +
aaa.png:        PNG image, 373 x 621, 16-bit/color RGB, non-interlaced
 +
bbb.odt:        OpenDocument Text
 +
ccc.rtf:        Rich Text Format data, version 1, ANSI
 +
ddd.jpg:        JPEG image data, JFIF standard 1.01
 +
eee.wmv:        Microsoft ASF
 +
fff.html:      Non-ISO extended-ASCII HTML document text, with very long lines
 +
ggg:            directory
 +
hhh.jpg:        JPEG image data, progressive, precision 0, 4360x420
 +
iii.pdf:        PDF document, version 1.4
 +
jjj.gif:        GIF image data, version 89a, 254 x 100
 +
kkk.mpg:        MPEG sequence, v1, system multiplex
 +
lll.bin:        POSIX shell script text executable
 +
mmm.jpg:        JPEG image data, JFIF standard 1.01, comment: "CREATOR: gd-jpeg v1.0 (using IJ"
 +
nnn.desktop:    ASCII text
  
  

Version vom 6. Mai 2011, 14:47 Uhr

Der Shell-Befehl file zeigt Informationen das Dateiformat bzw. den Inhalt einer Datei.

Verwendung

Mögliche Ausgaben sind je nach Datentyp beispielsweise die folgenden:

$ file *
aaa.png:        PNG image, 373 x 621, 16-bit/color RGB, non-interlaced
bbb.odt:        OpenDocument Text
ccc.rtf:        Rich Text Format data, version 1, ANSI
ddd.jpg:        JPEG image data, JFIF standard 1.01
eee.wmv:        Microsoft ASF
fff.html:       Non-ISO extended-ASCII HTML document text, with very long lines
ggg:            directory
hhh.jpg:        JPEG image data, progressive, precision 0, 4360x420
iii.pdf:        PDF document, version 1.4
jjj.gif:        GIF image data, version 89a, 254 x 100
kkk.mpg:        MPEG sequence, v1, system multiplex
lll.bin:        POSIX shell script text executable
mmm.jpg:        JPEG image data, JFIF standard 1.01, comment: "CREATOR: gd-jpeg v1.0 (using IJ"
nnn.desktop:    ASCII text