Difference between revisions of "Last"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/last.1.html
Line 16: | Line 16: | ||
* <code>/var/log/[[auth.log]]</code> | * <code>/var/log/[[auth.log]]</code> | ||
* {{uptime}} | * {{uptime}} | ||
− | * | + | * {{who}} |
* <code>[[acct]]</code>: <code>[[lastcomm]]</code> | * <code>[[acct]]</code>: <code>[[lastcomm]]</code> | ||
− | |||
[[Category:linux]] | [[Category:linux]] |
Revision as of 19:18, 23 September 2020
last
[1] list logins on the system
File: /var/log/wtmp
last last -x or --system Display the system shutdown entries and run level changes.
Related commands
netstat -nt | grep 22
uptime
- Sep 23 18:24:57 SERVER systemd-logind[916]: New session 5 of user XXXX
See also
/var/log/auth.log
uptime
,last
,who
, pts, tty,journalctl --list-boots, systeminfo , tuptime
who
,last, whoami
acct
:lastcomm
Advertising: