Find user login history – last and lastb commands in Linux
last and lastb commands print the user login history. last prints the previous logged in users and lastb shows the failed login attempts.
last and lastb commands print the user login history. last prints the previous logged in users and lastb shows the failed login attempts.