Linux command: who

Quick startwhoCommand to display the users logged in to the system

ThiswhoThe command displays the users logged in to the system.

Unless you are using a server that is accessed by multiple people, you will be the only user who has logged in multiple times:

Why multiple times? Because every shell opened will count as an access.

You can see the name of the terminal used and the time/date when the session started.

This-aHSigns will tell youwhoShow more information, including the idle time of the terminal and the process ID:

specialwho am iThis command will list the details of the current terminal session:

ThiswhoThis command can be used in Linux, macOS, WSL and wherever you have a UNIX environment

Download mine for freeLinux Command Manual


More cli tutorials: