1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

lastlog.md: add page (#1817)

This commit is contained in:
Max Xu 2017-12-19 23:26:37 +08:00 committed by Agniva De Sarker
parent 905b1a67e8
commit 5748e7cdae

19
pages/linux/lastlog.md Normal file
View file

@ -0,0 +1,19 @@
# lastlog
> Show the most recent login of all users or of a given user.
- Display the most recent login of all users:
`lastlog`
- Display lastlog record of the specified user:
`lastlog -u {{username}}`
- Display records before than 7 days:
`lastlog -b {{7}}`
- Display records more recent than 3 days:
`lastlog -t {{3}}`