On 13:10:10 Jun 16, Rajesh Prabhu G wrote:
> 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.

whoami(1) is different from the who(1) command.

It might be ignoring the arguments "am i". 

-Girish
_______________________________________________
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