last—Indicate last logins by user or terminal
last [–number][–f filename][–t tty][–h hostname][–i address][–l][–y][name…]
Last looks back in the
The pseudo-user reboot logs in at reboots of the system.
Last with no arguments displays a record of all logins and logouts, in reverse order.
If last is interrupted, it indicates how far the search has progressed in
|–number||Limit the number of entries displayed to that specified by number.|
|–f filename||Use filename as the name of the accounting file instead of /var/log/wtmp.|
|–h hostname||List only logins from
|–i IP address||List only logins from IP address.|
|–l||List IP addresses of remote hosts instead of truncated hostnames.|
||List only logins on