1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:42:09 +02:00
tldr/pages/linux/lastlog.md
2021-08-16 12:34:01 +02:00

20 lines
379 B
Markdown

# 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 lastlog record of the specified user:
`lastlog -u {{username}}`
- Display records before 7 days ago:
`lastlog -b {{7}}`
- Display records more recent than 3 days:
`lastlog -t {{3}}`