sarge  ] [  sarge-backports  ] [  etch  ] [  etch-m68k  ] [  lenny  ] [  sid  ]
[ Source: file  ]

Package: file (4.17-5etch3)

Determines file type using "magic" numbers

File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed.

Starting with version 4, the file command is not much more than a wrapper around the "magic" library.

Tags: User Interface: Command Line, Role: Program, Scope: Utility, Purpose: Scanning, Works with: Files

Other Packages Related to file

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.3.5-1) [not alpha, i386, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.3.6-6) [i386]
  • dep: libc6.1 (>= 2.3.5-1) [alpha, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: libmagic1
    File type determination library using "magic" numbers
    dep: libmagic1 (= 4.17-5etch3)

Download file

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 32.3 kB120 kB [list of files]
amd64 31.5 kB64 kB [list of files]
arm 31.4 kB116 kB [list of files]
hppa 32.1 kB116 kB [list of files]
i386 31.2 kB60 kB [list of files]
ia64 33.7 kB124 kB [list of files]
mips 31.8 kB116 kB [list of files]
mipsel 31.8 kB116 kB [list of files]
powerpc 33.2 kB120 kB [list of files]
s390 31.8 kB116 kB [list of files]
sparc 31.4 kB116 kB [list of files]