1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-01-24 19:33:02 +00:00
2016-03-28 21:56:58 +10:00

62 lines
993 B
Groff

.oh '11/3/70''STAT(I)'
.ta 18 21 24
NAME stat -- get file status
.sp
SYNOPSIS
.ul
stat
name
.sp
DESCRIPTION
.ul
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 448 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