What is use of who command in Linux? Description : The who command is used to get information about currently logged in user on to system.
What does the who command do? The who command can tell you who is logged in to the network, count them and give a list of them on a single line. It can also show when a system was last booted as well as the run state that the system is in.
Who vs who am I command? Note on the difference between who and whoami . The who command will always display the account that you used to login (the real user info). The whoami command will show your effective user. This indicates that user “blammy” logged in on 23 Apr 2011 at 13:43 from ip “123.23.
Who am I vs who command in Linux? w command displays user information like user id and activities on the system. It also gives the knowledge of the system’s running time along with the system load average. As the name describes, the whoami command is used to print the user’s name from which they are currently logged-in.