summaryrefslogtreecommitdiff
path: root/man/stat.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/stat.1')
-rw-r--r--man/stat.1181
1 files changed, 181 insertions, 0 deletions
diff --git a/man/stat.1 b/man/stat.1
new file mode 100644
index 0000000..faa7ff2
--- /dev/null
+++ b/man/stat.1
@@ -0,0 +1,181 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
+.TH STAT "1" "March 2007" "GNU coreutils 6.9" "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
+%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
+%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 bugs to <bug\-coreutils@gnu.org>.
+.SH COPYRIGHT
+Copyright \(co 2007 Free Software Foundation, Inc.
+.br
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+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 stat
+.PP
+should give you access to the complete manual.