View the last logged in users.
More information.
- View last logins, their duration and other information as read from `/var/log/wtmp`:
- Specify how many of the last logins to show:
- Print the full date and time for entries and then display the hostname column last to prevent truncation:
- View all logins by a specific user and show the IP address instead of the hostname:
- View all recorded reboots (i.e., the last logins of the pseudo user "reboot"):
- View all recorded shutdowns (i.e., the last logins of the pseudo user "shutdown"):
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY
Mastodon