Options (6)
-n, --limitbooleanSpecify how many of the last logins to show
last {{[-n|--limit]}} {{login_count}}-F, --fulltimesbooleanPrint the full date and time for entries and then display the hostname column last to prevent truncation
last {{[-F|--fulltimes]}} {{[-a|--hostlast]}}-a, --hostlastbooleanPrint the full date and time for entries and then display the hostname column last to prevent truncation
last {{[-F|--fulltimes]}} {{[-a|--hostlast]}}-i, --ipbooleanView all logins by a specific user and show the IP address instead of the hostname
last {{username}} {{[-i|--ip]}}-s, --sincebooleanList information since a specific time and date
last {{[-s|--since]}} {{-7days}}-h, --helpbooleanDisplay help
last {{[-h|--help]}}Examples (8)
View last login information (e.g., username, terminal, boot time, kernel) of all users as read from `/var/log/wtmp`
List login information of a specific user
last usernameSpecify how many of the last logins to show
last [-n|--limit] login_countPrint the full date and time for entries and then display the hostname column last to prevent truncation
last [-F|--fulltimes] [-a|--hostlast]View all logins by a specific user and show the IP address instead of the hostname
last username [-i|--ip]List information since a specific time and date
last [-s|--since] -7daysDisplay help
last [-h|--help]