File command
From Just Solve the File Format Problem
(Difference between revisions)
(Category:File Format Identification) |
|||
Line 6: | Line 6: | ||
|[[File command]] | |[[File command]] | ||
|} | |} | ||
− | |||
− | |||
The <code>file</code> command has been a part of Unix distributions for many years. | The <code>file</code> command has been a part of Unix distributions for many years. | ||
Line 19: | Line 17: | ||
* [ftp://ftp.astron.com/pub/file/ Source code] | * [ftp://ftp.astron.com/pub/file/ Source code] | ||
* [http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/file/ FreeBSD port tree] (referring to the porting of the original distribution into FreeBSD) | * [http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/file/ FreeBSD port tree] (referring to the porting of the original distribution into FreeBSD) | ||
+ | |||
+ | [[Category:File Format Identification]] |
Revision as of 00:37, 24 June 2015
Software | > | File identification software | > | File command |
The file
command has been a part of Unix distributions for many years.
The Debian manpage gives an overview of its functionality
The program source includes a database of heuristics for determining file types, which includes a variety of 'magic numbers' which characterise files. This database is not portable, but is potentially adaptable.
Links
- File Command web site
- Source code
- FreeBSD port tree (referring to the porting of the original distribution into FreeBSD)