1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/linux/lastlog.md
2021-10-21 17:43:38 -03:00

396 B

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}}