System Grab Bag

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

lastb

Show a listing of last logged in users. More information: https://manned.org/lastb.
  • Show a list of all last logged in users:
    sudo lastb
  • Show a list of all last logged in users since a given time:
    sudo lastb --since {{YYYY-MM-DD}}
  • Show a list of all last logged in users until a given time:
    sudo lastb --until {{YYYY-MM-DD}}
  • Show a list of all logged in users at a specific time:
    sudo lastb --present {{hh:mm}}
  • Show a list of all last logged in users and translate the IP into a hostname:
    sudo lastb --dns

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.