1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02: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

20 lines
383 B
Markdown

# 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`