Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stat(1M) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lstat(2)

stat(2)

stat(1M)



stat(1M)                                                              stat(1M)



NAME
     stat - display stat attributes of named files

SYNOPSIS
     stat [ -Lidrlspkugcamtq ] [ -f fdesc ] name ...

DESCRIPTION
     For each argument name, stat(2) that name and display the results.  By
     default, display all the stat(2) attributes.  If specific attributes are
     requested, just display those requested.

     The options are:

     -L   Use lstat(2) instead.

     -q   Quiet; just print numeric value of displayed attributes, without
          syntactic sugar, for easier use in shell scripts.

     -i   Show inode number (st_ino).

     -d   Show device (st_dev).

     -r   Show raw device (st_rdev).

     -l   Show link count (st_nlink).

     -s   Show size (st_size).

     -p   Show permissions (st_mode).

     -k   Show kind; describe upper bits of st_mode.

     -u   Show user id (st_uid).

     -g   Show group id (st_gid).

     -c   Show last status change time (st_ctime).

     -a   Show last access time (st_atime).

     -m   Show last modification time (st_mtime).

     -t   Show all three times.

     -f fdesc
          Stat the file descriptor fdesc instead of names.

SEE ALSO
     lstat(2), stat(2).






                                                                        Page 1





stat(1M)                                                              stat(1M)



DIAGNOSTICS
     stat returns exit code of 0 if stat(2) was successful on all the
     specified names.  Otherwise, it returns the number of names for which
     stat(2) failed, or 255, whichever is less.



















































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026