goldenradium2001
Technical User
Hi there,
I did this to try to obtain the current UID from bash:
# echo $UID
How do I obtain the current UID from the C shell? It reads that it cannot recognize the variable. I tried to echo $uid as well. I echoed $USER but I got the user's name not the UID. I want to use the UID.
I executed the id command but I got the UID and a bunch of other stuff.
Help? I just want the UID. Thanks.
I did this to try to obtain the current UID from bash:
# echo $UID
How do I obtain the current UID from the C shell? It reads that it cannot recognize the variable. I tried to echo $uid as well. I echoed $USER but I got the user's name not the UID. I want to use the UID.
I executed the id command but I got the UID and a bunch of other stuff.
Help? I just want the UID. Thanks.