File command
From Just Solve the File Format Problem
(Difference between revisions)
| (2 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
|[[File command]] | |[[File command]] | ||
|} | |} | ||
| + | The <code>file</code> command is a file format identification utility that has been a part of Unix distributions for many years. | ||
| − | + | The [https://manpages.debian.org/man1/file Debian manpage] gives an overview of its functionality | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | The [ | + | |
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. | 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. | ||
| Line 19: | Line 16: | ||
* [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 15:44, 18 October 2017
| Software | > | File identification software | > | File command |
The file command is a file format identification utility that 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)