Using the "last" command to get historical login information:
- last -x Gives reboots and crashes
- last -ai List logins with their IP address
- last ai|grep 192.168.1.1 Pass last output into grep to easily filter on an IP address. This allows you to get all logins from a specific IP address.






