You are here:

Home View Logged Users in Linux How to View Logged Users in Ubuntu Linux?
VIEW LOGGED USERS IN LINUX
Ubuntu

How to View Logged Users in Ubuntu Linux?
Linux Command to View Logged Users!
View Logged Users in Linux
by AvatarRachel
7 months ago
1.9kViews

V

iew logged users in Ubuntu: You can easily check the number of users logged in to your Linux PC. In this article, we provided the essential Linux Commands to check the logged users! Lets get into the article.
Jump To:
View Logged Users Command in Linux
Verdict
View Logged Users Command in Linux:
There are many Linux commands available to view the logged users in Linux and they are:

users
last -a
who -u
whoami
users command to view logged users in Linux:
You can use the users command to view the logged users list. To do follow the instructions.

Open the terminal
Copy the below command
users
Copy
Paste the command and execute to view the logged users in your Linux PC.
Users Command in Linux
Users Command in Linux

last -a command to view logged users in Linux:
The last -a command will print the details of the users who logged previously. To do follow the instructions,

Open the terminal
Copy the below command
last -a
Copy
Paste the command and execute to view the logged users in your Linux PC.
last -a command in Linux
last -a command in Linux
From the above image, the last -a command displays the list of users that logged in to your Linux PC.

who -u command to view logged users in Linux:
who -u is also a type of Linux command to display the currently logged user details in Linux PC. To do follow the instructions:

Open the terminal
Copy the below command
who -u
Copy
Paste the command and execute it to view the currently logged user.
Check this too Traceroute Command For Linux: Syntax & Examples
who -u command in Linux
who -u command in Linux
From the above image, who -u command displays the currently logged user details in Linux.

whoami command to view logged users in Linux:
whoami command will display the currently logged user in Linux PC. To do follow the instructions:

Open the terminal
Copy the below command
whoami
Copy
Paste the command and execute it to view the logged users.
whoami command in Linux
whoami command in Linux
This is how you can use the whoami command to view the currently logged user in Linux.

Verdict:
That’s it. The above commands are the powerful and essential Linux commands to display logged users’ data. If you have any queries related to this article and then feel free to comment us below or ask us a question in our Forum

LEAVE A REPLY
Your email address will not be published. Required fields are marked *

Comment
Comment*

Name *
Name*

Email *
Email*

Website
Website

See more
Previous article
Install VirtualBox 6.0 on Ubuntu 18.04 & 19.04 Disco Dingo {Linux}
Next article
How to Install & Use Megatools in Ubuntu 18.04,19.04 & 19.10?
Avatar
Written by Rachel
I’m Rachel, From Arizona. I am playing the “Content Management” Role in Tec Robust. I started working in TR from Jan 2019. Big Marvel Fan.

Contact me:
tecrobust [@] gmail.com
Sub: Message to Rachel

Contribute Us!

YOU MAY ALSO LIKE
BANNER AND NEW IDENTITY
News
Ubuntu
CREATE BANNER AND NEW IDENTITY IN UBUNTU
How to (Create Banner and New Identity) in Ubuntu 20.04 LTS/19.10?
26 days ago
0 points
Upvote
Downvote

WATCHING EYES AND RUNNING CAT
News
Ubuntu
ADD WATCHING EYES AND RUNNING CAT ON UBUNTU
(*Add Watching Eyes and Running Cat*) on Ubuntu 20.04 LTS/19.10!
26 days ago
0 points
Upvote
Downvote

FIRE AND FORTUNE
News
Ubuntu
FIRE EFFECT AND FORTUNE COOKIE ON UBUNTU
How to Add Fire Effect & Get Fortune Cookie on Ubuntu 20.04 LTS/19.10?
26 days ago
0 points
Upvote
Downvote

TRAIN AND MATRIX
News
Ubuntu
TRAIN AND MATRIX ON UBUNTU
Run a Train and Add Matrix Effect on Ubuntu 20.04 LTS/19.10!!
about a month ago
0 points
Upvote
Downvote
WHAT’S YOUR REACTION?
Windows
0
WINDOWS
happy
0
HAPPY
Geek
0
GEEK
YouTube
0
YOUTUBE
Chrome
0
CHROME
Web Apps
0
WEB APPS
News
0
NEWS
Elementary OS
0
ELEMENTARY OS
Fedora
0
FEDORA
Linux Mint
0
LINUX MINT
Manjaro
0
MANJARO
Zorin OS
0
ZORIN OS
Ubuntu
0
UBUNTU
Bash
0
BASH
openSUSE
0
OPENSUSE
Kubuntu
0
KUBUNTU
OUR PICKS
Apple is reportedly disabling and tracking looted iPhones

CES will be held in-person in Las Vegas next year

Random: Not All Animal Crossing Players Are Having Happy Wedding Seasons

I Wanted It To Be Great

Google faces $5 billion lawsuit for tracking people in incognito mode

The Future of Solar Is Double-Sided Panels that Follow the Sun
RECENT FORUM POSTS
WiFi Adaptor Not Found on my Idea …
by Rachel
7 months ago
How Do I Change the Default Windo …
by Mike
7 months ago
How to Run a Command as root user …
by Julian
7 months ago
How to Take Screenshot in Ubuntu …
by Rachel
7 months ago
ADS