Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ file(1) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



FILE(1)         DOMAIN/IX Reference Manual (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 6/10/85                                            FILE-1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026