How to view the ip of the last users who logged in on a ubuntu server

It is sometimes useful to check if no malicious guy has logged in your system.

There is one handy command to show you the last logged users with their ip so you can check if all seems ok.

To show this list use this command :

This will show you an output like this :


If you want more infos and details about this command, here is the manpage

Leave a Reply

Your email address will not be published. Required fields are marked *