STAT(1)

NAME
stat - file statistics and labels

SYNOPSIS
stat file ...

DESCRIPTION
Stat places facts about the named files on the standard output. Successive output lines show

    The file name.

    Inode number, mode, link count, owner, group, and size displayed like output from ls(1) with options For device files, the size is replaced by major and minor device numbers separated by a comma.

    The major and minor device numbers of this inode's file system and the file mode in octal.

    Modification, access, and change times, each on a separate line.

    The security label (of the destination, if a symbolic link) is given in the style of labtoa(3).

    If the file can be opened and corresponding data differ for the opened file, similar information for the opened file follows.

    If the file is a symbolic link, the link destination is given, marked by

Stat has nocheck capability; a superuser with nocheck license can use it to examine any file.

EXAMPLES
    /dev/tty:
    	0 crwxrwxrwx 0 root 0 0,0
    	255,255 020777
    	Jun 22 22:52:30 1988
    	Jun 22 22:52:30 1988
    	Jun 22 22:52:30 1988
    	------ ------CY 0000 0000 ...
    	974  rw-rw-r-- 0 reeds other 0
    	255,255 0100664
    	------ ------R  0000 0000 ...
    /usr/spool/man:
    	9926 lrwxrwxrwx 1 doug bin 23
    	7,66 0120777
    	Oct 17 21:21:21 1987
    	Jun 22 22:52:14 1988
    	Oct 17 21:21:21 1987
    	------ ------C  0000 0000 ...
    	-> /n/bowell/usr/spool/man

DIAGNOSTICS
Diagnostics appear on the standard output.

SEE ALSO
stat(2), ls(1), getlab(1)