last Linux Command
Shows the last logged-in users from the system log file.
What does last do?
Shows the last logged-in users from the system log file.
Syntax
last [options]Practical example
last -n 10Related User Management
groupsDisplays all groups the current user is a member of.
whoamiDisplays the username of the currently logged-in user.
groupdelDeletes an existing group from the system.
whoShows all users currently logged into the system with login details.
groupaddCreates a new group on the system.
wDisplays who is logged in and what they are currently doing.