💾 Archived View for freeshell.de › tldr › last.gmi captured on 2023-04-26 at 15:17:33. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
last
View the last logged in users.
More information.
- 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}
- Print the full date and time for entries and then display the hostname column last to prevent truncation:
last -F -a
- View all logins by a specific user and show the IP address instead of the hostname:
last {username} -i
- View all recorded reboots (i.e., the last logins of the pseudo user "reboot"):
last reboot
- View all recorded shutdowns (i.e., the last logins of the pseudo user "shutdown"):
last 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