|
|
1.1 root 1: .th STAT I 3/15/72
2: .sh NAME
3: stat _ get file status
4: .sh SYNOPSIS
5: .bd stat
6: name ...
7: .sh DESCRIPTION
8: .it stat
9: gives several kinds of information about one or more
10: files:
11: .s3
12: i-number
13: access mode
14: number of links
15: owner
16: size in bytes
17: date and time of last modification
18: name (useful when several files are named)
19: .s3
20: All information is self-explanatory except the mode.
21: The mode is a six-character string whose characters mean the
22: following:
23: .s3
24: .in +5
25: .ti -2
26: 1 s: file is small (smaller than 4096 bytes)
27: .br
28: l: file is large
29:
30: .ti -2
31: 2 d: file is a directory
32: .br
33: x: file is executable
34: .br
35: u: set user ID on execution
36: .br
37: -: none of the above
38: .ti -2
39: .s3
40: 3 r: owner can read
41: .br
42: -: owner cannot read
43: .s3
44: .ti -2
45: 4 w: owner can write
46: .br
47: -: owner cannot write
48: .s3
49: .ti -2
50: 5 r: non-owner can read
51: .br
52: -: non-owner cannot read
53: .ti -2
54: .s3
55: 6 w: non-owner can write
56: .br
57: -: non-owner cannot write
58: .in -5
59: .s3
60: The owner is almost always given in symbolic form; however
61: if he cannot be found in "/etc/passwd" a number is given.
62: .s3
63: If the number of arguments to
64: .it stat
65: is not exactly 1
66: a header is generated identifying the fields of the status information.
67: .sh FILES
68: /etc/passwd
69: .sh "SEE ALSO"
70: istat(I), ls(I) (-l option)
71: .sh DIAGNOSTICS
72: "name?"
73: for any error.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.