in reply to Re^3: How to get group ownership of a file
in thread How to get group ownership of a file

Or this:

perl -e '$groupname=getgrgid("33200");print "groupname: $groupname\n"'


--chargrill
$/ = q#(\w)# ; sub sig { print scalar reverse join ' ', @_ } + sig map { s$\$/\$/$\$2\$1$g && $_ } split( ' ', ",erckha rlPe erthnoa stJu +" );

Replies are listed 'Best First'.
Re^5: How to get group ownership of a file
by linux454 (Pilgrim) on Feb 28, 2006 at 16:53 UTC
    And this for the username:
    perl -e '$username=getpwuid("33197");print "username: $username\n"'