1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:18:00 +01:00
tldr/pages/common/last.md
2016-01-08 09:38:59 +01:00

27 lines
487 B
Markdown

# last
> View the last logged in users.
- View last logins, their duration and other information as read from /var/log/wtmp:
`last`
- Specify how many of the last logins to show:
`last -n {{login_count}}`
- View full login times and dates:
`last -F`
- View the last login by a specific user:
`last {{user_name}}`
- View the last reboot (last login of the pseudo user reboot):
`last reboot`
- View the last shutdown (last login of the pseudo user shutdown):
`last shutdown`