The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-28-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
The stat function returns the raw information about size, ownership, permissions, etc. You also need the getpw* functions to map UIDs to names etc.

Last edited by era; 08-28-2008 at 03:11 PM.. Reason: Add links to perldoc.perl.org