You are on page 1of 1

who _______________________________________________________

This command gives the list of user who are currently logged into the system.
whoami_____________________________________________________
It display the current user name.
who am i __________________________________________________
It display the current user name even if you su to other user.
whoami
who
----------------------------------------------------------------------------------------------------1.
display the current username
Display the list of user who is currentl
y logged into the system.
2.
if you su to other user then it
It will display the orignal user
name even if ou su.
will display the current effective
user username.

You might also like