rackAID Logo
Client Login:
Password:

Resources Resources » rackaid blog »  rackTIPS  »  Using the "last" command
Search:

Resources

rackAID Blog: rackTIPS

Using the "last" command

April 2, 2005 2:29 PM

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.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

To reduce spam, we use a Captcha system. Please enter the letters in the image into the box to post your comments.


Type the characters you see in the picture above.

Add to Technorati Favorites

©2000-2007 rackAID LLC