Difference between revisions of "Last"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/last.1.html
Line 3: | Line 3: | ||
* <code>last</code> | * <code>last</code> | ||
− | * <code>[[last]] | + | * <code>[[last reboot]]</code> |
* <code>[[last]] [[shutdown]]</code> | * <code>[[last]] [[shutdown]]</code> | ||
Revision as of 12:28, 24 January 2022
last
[1] list logins on the system
last
last reboot
last shutdown
File: /var/log/wtmp
last last -x or --system Display the system shutdown entries and run level changes.
macOS:
last --help last: illegal option -- - usage: last [-#] [-t tty] [-h hostname] [user ...]
last -t tty
Related commands
netstat -nt | grep 22
uptime
- Sep 23 18:24:57 SERVER systemd-logind[916]: New session 5 of user XXXX
journalctl --list-boots
history
See also
/var/log/auth.log
uptime
,last
,who
, pts, tty,journalctl --list-boots, systeminfo , tuptime
who
,last, whoami
acct
:lastcomm
last
,journalctl --list-boots
Advertising: