Manual / file
file(1)
| FILE(1) | General Commands Manual | FILE(1) |
NAME
file - determine file type
SYNOPSIS
file name ...
DESCRIPTION
File classifies each argument and prints its name and description. The test on maux is the ProDOS storage type and file-type byte only; it does not examine the contents or guess a programming language.
Directories are identified before the type-byte lookup. Known types include text, binary, system program, Applesoft and Integer BASIC programs, Applesoft variables, relocatable object, Pascal area, AppleTalk file and GS/OS application. An unrecognized type is printed as a hexadecimal byte.
FILES
/usr/man/FILE this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 if all files were described, 1 if any cannot be examined, 2 if no operands were supplied.
BUGS
Type labels are metadata, not content validation. In particular the REL label in this tool's table is type $FE; a NAS $F8 REL object currently prints as an unknown type.
| September 19, 2026 | maux |