Imported upstream version 1.5
[manpages-zh.git] / raw / man1 / stat.1
blob0ca475ae661abe226f3a9b8706d4f3433d9fb2bf
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.022.
2 .TH STAT "1" "October 2003" "stat (coreutils) 5.0" FSF
3 .SH NAME
4 stat \- display file or filesystem status
5 .SH SYNOPSIS
6 .B stat
7 [\fIOPTION\fR] \fIFILE\fR...
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Display file or filesystem status.
12 .TP
13 \fB\-f\fR, \fB\-\-filesystem\fR
14 display filesystem status instead of file status
15 .TP
16 \fB\-c\fR
17 \fB\-\-format\fR=\fIFORMAT\fR   use the specified FORMAT instead of the default
18 .TP
19 \fB\-L\fR, \fB\-\-dereference\fR
20 follow links
21 .TP
22 \fB\-t\fR, \fB\-\-terse\fR
23 print the information in terse form
24 .TP
25 \fB\-\-help\fR
26 display this help and exit
27 .TP
28 \fB\-\-version\fR
29 output version information and exit
30 .PP
31 The valid format sequences for files (without \fB\-\-filesystem\fR):
32 .TP
34 Access rights in human readable form
35 .TP
37 Access rights in octal
38 .TP
40 The size in bytes of each block reported by `%b'
41 .TP
43 Number of blocks allocated (see %B)
44 .TP
46 Device number in hex
47 .TP
49 Device number in decimal
50 .TP
52 File type
53 .TP
55 Raw mode in hex
56 .TP
58 Group name of owner
59 .TP
61 Group ID of owner
62 .TP
64 Number of hard links
65 .TP
67 Inode number
68 .TP
70 Quoted File name with dereference if symbolic link
71 .TP
73 File name
74 .TP
76 IO block size
77 .TP
79 Total size, in bytes
80 .TP
82 Minor device type in hex
83 .TP
85 Major device type in hex
86 .TP
88 User name of owner
89 .TP
91 User ID of owner
92 .TP
94 Time of last access as seconds since Epoch
95 .TP
97 Time of last access
98 .TP
100 Time of last modification as seconds since Epoch
103 Time of last modification
106 Time of last change as seconds since Epoch
109 Time of last change
111 Valid format sequences for file systems:
114 Free blocks available to non-superuser
117 Total data blocks in file system
120 Total file nodes in file system
123 Free file nodes in file system
126 Free blocks in file system
129 File System id in hex
132 Maximum length of filenames
135 File name
138 Optimal transfer block size
141 Type in human readable form
144 Type in hex
145 .SH AUTHOR
146 Written by Michael Meskes.
147 .SH "REPORTING BUGS"
148 Report bugs to <bug-coreutils@gnu.org>.
149 .SH COPYRIGHT
150 Copyright \(co 2003 Free Software Foundation, Inc.
152 This is free software; see the source for copying conditions.  There is NO
153 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
154 .SH "SEE ALSO"
155 The full documentation for
156 .B stat
157 is maintained as a Texinfo manual.  If the
158 .B info
160 .B stat
161 programs are properly installed at your site, the command
163 .B info stat
165 should give you access to the complete manual.