Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stat(1) [redhat man page]

STAT(1) 								FSF								   STAT(1)

NAME
stat - display file or filesystem status SYNOPSIS
stat [OPTION] FILE... DESCRIPTION
Display file or filesystem status. -f, --filesystem display filesystem status instead of file status -c --format=FORMAT use the specified FORMAT instead of the default -L, --dereference follow links -t, --terse print the information in terse form --help display this help and exit --version output version information and exit The valid format sequences for files (without --filesystem): %A - Access rights in human readable form %a - Access rights in octal %b - Number of blocks allocated %D - Device number in hex %d - Device number in decimal %F - File type %f - raw mode in hex %G - Group name of owner %g - Group ID of owner %h - Number of hard links %i - Inode number %N - Quoted File name with dereference if symbolic link %n - File name %o - IO block size %s - Total size, in bytes %T - Minor device type in hex %t - Major device type in hex %U - User name of owner %u - User ID of owner %X - Time of last access as seconds since Epoch %x - Time of last access %Y - Time of last modification as seconds since Epoch %y - Time of last modi- fication %Z - Time of last change as seconds since Epoch %z - Time of last change Valid format sequences for file systems: %a - Free blocks available to non-superuser %b - Total data blocks in file system %c - Total file nodes in file system %d - Free file nodes in file system %f - Free blocks in file system %i - File System id in hex %l - Maximum length of filenames %n - File name %s - Optimal transfer block size %T - Type in human readable form %t - Type in hex AUTHOR
Written by Michael Meskes. REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for stat is maintained as a Texinfo manual. If the info and stat programs are properly installed at your site, the command info stat should give you access to the complete manual. stat (coreutils) 4.5.3 February 2003 STAT(1)

Check Out this Related Man Page

DU(1)									FSF								     DU(1)

NAME
du - estimate file space usage SYNOPSIS
du [OPTION]... [FILE]... DESCRIPTION
Summarize disk usage of each FILE, recursively for directories. Mandatory arguments to long options are mandatory for short options too. -a, --all write counts for all files, not just directories -B, --block-size=SIZE use SIZE-byte blocks -b, --bytes print size in bytes -c, --total produce a grand total -D, --dereference-args dereference FILEs that are symbolic links -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G) -H, --si likewise, but use powers of 1000 not 1024 -k like --block-size=1K -l, --count-links count sizes many times if hard linked -L, --dereference dereference all symbolic links -S, --separate-dirs do not include size of subdirectories -s, --summarize display only a total for each argument -x, --one-file-system skip directories on different filesystems -X FILE, --exclude-from=FILE Exclude files that match any pattern in FILE. --exclude=PATTERN Exclude files that match PATTERN. --max-depth=N print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line argument; --max-depth=0 is the same as --summarize --help display this help and exit --version output version information and exit SIZE may be (or may be an integer optionally followed by) one of following: kB 1000, K 1024, MB 1,000,000, M 1,048,576, and so on for G, T, P, E, Z, Y. PATTERNS
PATTERN is a shell pattern (not a regular expression). The pattern ? matches any one character, whereas * matches any string (composed of zero, one or multiple characters). For example, *.o will match any files whose names end in .o. Therefore, the command du --exclude='*.o' will skip all files and subdirectories ending in .o (including the file .o itself). AUTHOR
Written by Torbjorn Granlund, David MacKenzie, Larry McVoy, and Paul Eggert. REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for du is maintained as a Texinfo manual. If the info and du programs are properly installed at your site, the com- mand info du should give you access to the complete manual. du (coreutils) 4.5.3 February 2003 DU(1)
Man Page