1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:39:46 +01:00
tldr/pages/linux/lastlog.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

383 B

lastlog

Show the most recent login of all users or of a 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