cmd

Knowing when a user last logged in

# lastlog -u rafacas
Username    Port     From            Latest
rafacas     pts/5    192.168.1.16    mar jun 10 13:36:46 +0200 2008

Prints the contents of the ‘last logging’ log file (/var/log/lastlog) for the specified user.

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*Required Fields