The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
How can I get only the number of the UID from id command?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
How can I get only the number of the UID from id command?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-09-2006
ranj@chn
Playing with Ubuntu Now!
Join Date: Oct 2005
Location: Chennai
Posts: 365
try getuid
I am not sure what is the command in Sun Solaris. I work in HP-UX. Why not write a wrapper c code to return uid using getuid() function.
ranj@chn
View Public Profile
Find all posts by ranj@chn
Find ranj@chn's past nominations received
Find ranj@chn's present nominations given