开机
(base) lyc@ubuntu:~$ who -b
system boot 2022-07-14 08:41
(base) lyc@ubuntu:~$ who -r
run-level 5 2022-07-14 08:41
(base) lyc@ubuntu:~$ last reboot
reboot system boot 5.4.0-121-generi Thu Jul 14 08:41 still running
reboot system boot 5.4.0-121-generi Wed Jul 13 09:59 still running
reboot system boot 5.4.0-121-generi Fri Jul 8 17:50 still running
reboot system boot 5.4.0-120-generi Mon Jul 4 09:43 still running
wtmp begins Mon Jul 4 09:43:25 2022
关机
(base) lyc@ubuntu:~$ last shutdown
wtmp begins Mon Jul 4 09:43:25 2022