perl.ppt...Re: whoami implementation by Ricardo SIGNES- October 4, 2006 veritosprojectgmail.com 2006-10-04T12:47:11> print getpwuid($>)."n";Cute, but won&39;t work on Win32, and possibly elsewhere.-- rjbshttp://www.nntp.perl.org/group/perl.ppt/2006/10/msg46.html whoami implementation by veritosproject- October 4, 2006 !usrbinperl whoami for PPT Public domain. by David Koenig.print getpwuid($>)."n";__END__=head1 NAMEwhoami - display effective user ID=head1 SYNOPSISwhoami=head1 DESCRIPTIONThe I<whoami> utility is obsolite. Use I<id -un>.This utility simply returns the effective user ID.=head1 SEE ALSOL<id(1)>=head1 AUTHORDavid Koenig <veritosprojectgmail.com>.=head1 COPYRIGHTThis page, as well as the implementation of the utility, are public domain.http://www.nntp.perl.org/group/perl.ppt/2006/10/msg45.html |