A command that shows login history.
A command that reads the wtmp file to display a history of past logins and logouts. Pointing it at a specific file, as in "last -f /var/log/wtmp.1," lets you check older, rotated logs, and the related lastb command shows only failed login attempts.
© 2026 ITBGM