Hi Bharathi,

I like to share my understanding about ( who ) command... pls check the
following

[EMAIL PROTECTED] ~]$ sudo bash
Password:
[EMAIL PROTECTED] ~]# whoami
root
[EMAIL PROTECTED] ~]# who am i
rajesh   pts/0        Jun 16 13:04 (192.168.1.48)
[EMAIL PROTECTED] ~]#

Please find the difference between "whoami" & "who am i"
whoami - shows the current logged in user
who am i - shows from which user we switched off.

Regards
Rajesh Prabhu G
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to