BSD 1 development
[unix-history] / man6 / file.6
CommitLineData
0632d7e3
BJ
1.th FILE VI 8/27/77
2.sh NAME
3file \- determine file type
4.sh SYNOPSIS
5.bd file
6file ...
7.sh DESCRIPTION
8.it File
9performs a series of tests on each argument
10in an attempt to classify it.
11If an argument appears to be \s-2ASCII\s0,
12.it file
13examines the first 512 bytes
14and tries to guess its language.
15.s3
16Classification currently known to
17.it file
18are:
19.s3
20.dt
21.br
22 directory
23.br
24 ( character | block ) special file
25.br
26 quota file
27.br
28 [ pure | separate ] executable [ not stripped ]
29.br
30 pascal object
31.br
32 [ old ] archive
33.s3
34The following text file classifications may indicate
35``with garbage'' if there are non-\s-2ASCII\s0 characters
36in the file.
37.s3
38 ( c | fortran | pascal | assembler ) program
39.br
40 roff, nroff, or eqn input
41.br
42 commands
43.br
44 data
45.br
46 probably text
47.sh SEE\ ALSO
48head (VI)
49.sh BUGS