System Grab Bag

View all TLDR pages from Linux (or from all pages)

lastlog

Show the most recent login of all users or of a given user. More information: https://manned.org/lastlog.
  • Display the most recent login of all users:
    lastlog
  • Display the lastlog record of the specified user:
    lastlog --user {{username}}
  • Display records older than 7 days:
    lastlog --before {{7}}
  • Display records more recent than 3 days:
    lastlog -time {{3}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.