FILE(1) DOMAIN/IX SYS5 FILE(1)
NAME
file - determine file type
USAGE
file [ -c ] [ -f ffile ] [ -m mfile ] arg ...
DESCRIPTION
File performs a series of tests on each argument in an
attempt to classify it. If an argument appears to be ASCII,
file examines the first 512 bytes and tries to guess its
language. If an argument is an executable a.out file, file
prints the version stamp, provided it is greater than zero.
See ld(1) for more information about a.out files.
OPTIONS
-f ffile Take the next argument to be a file containing the
names of the files to be examined. File uses the
file /etc/magic to identify files that have some
sort of magic number; that is, any file containing
a numeric or string constant that indicates its
type. The commentary at the beginning of
/etc/magic explains its format.
-m mfile Use an alternate magic file.
-c Check the magic file for format errors. Do no
file typing.
FILES
/etc/magic
RELATED INFORMATION
ld(1).
Printed 12/4/86 FILE-1