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
- Display records older than 7 days:
lastlog --before 7
- Display records more recent than 3 days:
lastlog --time 3
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
