Article Figure 1 Figure 2 Listing 1 Listing 2
Listing 3 Listing 4 Listing 5 Listing 6 Listing 7
Listing 8 Listing 9 Listing 10 Listing 11 Listing 12
Listing 13 Listing 14 may94.tar

Figure 1: -h output--stat command-line flags

The -h flag lists the command-line flags.

usage: stat [-args] [filename(s)|-]
-     Read filenames from stdin
-F [filename]   file containing list of filenames
-x    Default output: mode nlink uid gid size mtime name
-n    Print name
-p    Look up user and group names (default prints uid and gid)
-i    Inode number
-d    ID of device containing a directory entry for this file
-D    ID of device: defined for character/block special files
-l    Number of links
-u    User ID of the file's owner
-g    Group ID of the file's group
-s    File size in bytes
-o    File mode [see mknod(2)]          -O decimal value
-a    Time of last access               -A decimal value
-m    Time of last data modification    -M decimal value
-c    Time of last file status 'change' -C decimal value
-t    Show all three times
-w    Print no extra white space
-h    This help page