1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
.TH STAT "1" "April 2010" "GNU coreutils 8.5" "User Commands"
.SH NAME
stat \- display file or file system status
.SH SYNOPSIS
.B stat
[\fIOPTION\fR]... \fIFILE\fR...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Display file or file system status.
.TP
\fB\-L\fR, \fB\-\-dereference\fR
follow links
.TP
\fB\-f\fR, \fB\-\-file\-system\fR
display file system status instead of file status
.TP
\fB\-c\fR \fB\-\-format\fR=\fIFORMAT\fR
use the specified FORMAT instead of the default;
output a newline after each use of FORMAT
.TP
\fB\-\-printf\fR=\fIFORMAT\fR
like \fB\-\-format\fR, but interpret backslash escapes,
and do not output a mandatory trailing newline.
If you want a newline, include \en in FORMAT
.TP
\fB\-t\fR, \fB\-\-terse\fR
print the information in terse form
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
The valid format sequences for files (without \fB\-\-file\-system\fR):
.TP
%a
Access rights in octal
.TP
%A
Access rights in human readable form
.TP
%b
Number of blocks allocated (see %B)
.TP
%B
The size in bytes of each block reported by %b
.TP
%C
SELinux security context string
.TP
%d
Device number in decimal
.TP
%D
Device number in hex
.TP
%f
Raw mode in hex
.TP
%F
File type
.TP
%g
Group ID of owner
.TP
%G
Group name of owner
.TP
%h
Number of hard links
.TP
%i
Inode number
.TP
%n
File name
.TP
%N
Quoted file name with dereference if symbolic link
.TP
%o
I/O block size
.TP
%s
Total size, in bytes
.TP
%t
Major device type in hex
.TP
%T
Minor device type in hex
.TP
%u
User ID of owner
.TP
%U
User name of owner
.TP
%x
Time of last access
.TP
%X
Time of last access as seconds since Epoch
.TP
%y
Time of last modification
.TP
%Y
Time of last modification as seconds since Epoch
.TP
%z
Time of last change
.TP
%Z
Time of last change as seconds since Epoch
.PP
Valid format sequences for file systems:
.TP
%a
Free blocks available to non\-superuser
.TP
%b
Total data blocks in file system
.TP
%c
Total file nodes in file system
.TP
%d
Free file nodes in file system
.TP
%f
Free blocks in file system
.TP
%C
SELinux security context string
.TP
%i
File System ID in hex
.TP
%l
Maximum length of filenames
.TP
%n
File name
.TP
%s
Block size (for faster transfers)
.TP
%S
Fundamental block size (for block counts)
.TP
%t
Type in hex
.TP
%T
Type in human readable form
.PP
NOTE: your shell may have its own version of stat, which usually supersedes
the version described here. Please refer to your shell's documentation
for details about the options it supports.
.SH AUTHOR
Written by Michael Meskes.
.SH "REPORTING BUGS"
Report stat bugs to bug\-coreutils@gnu.org
.br
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
.br
General help using GNU software: <http://www.gnu.org/gethelp/>
.br
Report stat translation bugs to <http://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
stat(2)
.PP
The full documentation for
.B stat
is maintained as a Texinfo manual. If the
.B info
and
.B stat
programs are properly installed at your site, the command
.IP
.B info coreutils \(aqstat invocation\(aq
.PP
should give you access to the complete manual.
|