Linux who command
Use who command is used to find current logged-in users in your system along with other useful details. You can find details like remote IP address, terminal details, date/time of login, etc.
Syntax:
Find All Login Users
List all users currently logged in to your system.
Output:
rahul pts/8 2017-09-05 16:23 (192.168.1.10)
root pts/9 2017-09-05 17:32 (192.168.1.13)
root pts/9 2017-09-05 17:32 (192.168.1.13)
Find Current Login User
You can also use the following command to print the username of the current logged-in user.
Output:
rahul pts/9 2017-09-05 17:32 (192.168.1.10)
0 Comments
CAN FEEDBACK
Emoji