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:


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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content