1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-23 19:08:17 +00:00

59 lines
972 B
Groff

.oh '11/3/70''STAT(I)'
.ta 18 21
NAME stat - get file status
.sp
SYNOPSIS
.ul
stat
name
.sp
DESCRIPTION stat gives several kinds of information about
one file:
.sp
access mode
number of links
owner
size in words
name
.sp
All information is self-explanatory except the
mode. The mode is a five-character string whose
characters mean the following:
.sp
1 s: file is small (smaller than 4096 words)
l: file is large
d: file is a directory
.sp
2 r: owner can read
-: owner cannot read
.sp
3 w: owner can write
-: owner cannot write
.sp
4 r: non-owner can read
-: non-owner cannot read
.sp
5 w: non-owner can write
-: non-owner cannot write
.sp
All numeric values are printed in octal.
.sp
FILES
.sp
SEE ALSO
.ul
ls
with the -l option gives the same information
as
.ul
stat,
except that it also shows the i-node
number for each file.
.sp
DIAGNOSTICS "name ?" for any error.
"nofiles" if no file name is given.
.sp
BUGS none
.sp
OWNER wkt