How do I check who is currently logged in on my server?

Updated -

To quickly check who is currently log in on the server and the programs they are currently running, run the 'w' command as shown below:

w

This command would also show how they are logged in, if they logged in remotely and the current time, how long the their login session has lasted.

Alternatively, you can use the 'who' command:

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In