Contents
The basic who command with no command-line arguments shows the names of users that are currently logged in, and depending on which Unix/Linux system you are using, may also show the terminal they’re logged in on, and the time they logged in.
Who’s logged in Linux command?
4 Ways to Identify Who is Logged-In on Your Linux System
- Get the running processes of logged-in user using w. w command is used to show logged-in user names and what they are doing.
- Get the user name and process of logged in user using who and users command.
- Get the username you are currently logged in using whoami.
- Get the user login history at any time.
What is use of who command in Linux?
Linux who command. On Unix-like operating systems, the who command displays users logged in to the system.