*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> stat (1)              
Title
Content
Arch
Section
 

Contents


stat(1M)							      stat(1M)


NAME    [Toc]    [Back]

     stat - display stat attributes of named files

SYNOPSIS    [Toc]    [Back]

     stat [ -Lidrlspkugjcamtq ]	[ -f fdesc ] name ...

DESCRIPTION    [Toc]    [Back]

     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).

     -j	  Show project id (st_projid).

     -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.







									Page 1






stat(1M)							      stat(1M)



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

DIAGNOSTICS    [Toc]    [Back]

     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.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
extattr OpenBSD virtual file system named extended attributes
extattr FreeBSD virtual file system named extended attributes
mkfifo HP-UX make FIFO (named pipe) special files
hwmgr_set Tru64 Commands that display and set component attributes and display component category names
hwmgr_get Tru64 Commands that display and set component attributes and display component category names
stat HP-UX data returned by the stat() function
File::stat IRIX by-name interface to Perl's built-in stat() functions
pathfind IRIX search for named file in named directories
install Linux copy files and set attributes
chfile Tru64 Changes attributes of AdvFS files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service