Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (d - f)
le(1)
agged as unknown format.
For text les, the le utility examines the le data and tries to determine what kind of text it con-
tains. The string empty is printed for any le type that has no data.
Standard Output
The type value for each le operand is printed to standard output in the following format:
"%s: %s\n", le, type[,type]...
where type contains one of the following strings:
____________________________________________________________
File Type Strings
____________________________________________________________
OSS and Guardian
les that are not
disk les
block special, character special,
directory, fifo, strings
____________________________________________________________
Empty regular
OSS les
empty
____________________________________________________________
Regular HP object
les
Archive member, axcel region, binder
region, ELF object format, executable,
Guardian Archive, Guardian COFF
object format, Guardian target,
library, NonStop OSS target, TNS/E PIC
object file, TNS/R object file, TNS/R
PIC object file, OSS archive, process
snapshot, shared runtime library, sym-
bol region, TNS object format, uses
shared runtime library
____________________________________________________________
Regular text les ASCII text, assembler program text,
commands text, C program text, data or
International Language text, English
text, FORTRAN program text, English
text, EQN, input text, [nr/tr]off, SCCS,
TBL
____________________________________________________________
Files in the Guar-
dian le system
entry-sequenced, le codes, key-
sequenced, relative, SQL object,
unstructured
____________________________________________________________
Files with magic
values, cpio or tar
format les
archive, CPIO archive, FrameMaker docu-
ment, FrameMaker MIF file, FrameMaker
MML file, PostScript document, Sun
Binary, TAR archive
____________________________________________________________
All other les unknown format
____________________________________________________________
EXAMPLES
1. To show the le type of a Guardian text le, enter:
le /G/vol/subvol/le
This command displays the pathname of the le followed by the le type.
527188-003 Hewlett-Packard Company 3135