User Id
Is user ID person who is in the current system?
fahrisal@linux:~> who am i fahrisal pts/1 2006-07-12 08:22 Is "fahrisal" a user ID? how to identify whether the particular user has logged in (using shell script)? |
It's a name, not an id. The uid is a numerical value.
To retrieve the name there's several possibilities. Code:
a) the one you already listed `who am i` Cheers, Tink |
So, could u gimme the example of UID in terminal program!!
|
check out 'man id', as Tinkster suggested.
|
Code:
twilli@ubuntu:~$ id |
All times are GMT -5. The time now is 08:10 PM. |