maux
Star on GitHub Buy me a coffee

Manual / file

file(1)

FILE(1) General Commands Manual FILE(1)

file - determine file type

file name ...

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.

/usr/man/FILE this page

ls(1), nm(1), licenses(1)

Exit status is 0 if all files were described, 1 if any cannot be examined, 2 if no operands were supplied.

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