- 查看当前系统时间
[root@mppaynew upload]# date
- 查看最后一次系统启动时间
[root@mppaynew upload]# who -b
- 查看历史系统启动时间
[root@mppaynew upload]# last reboot
- 查看系统在线时长
[root@mppaynew upload]# uptime
[root@mppaynew upload]# date
[root@mppaynew upload]# who -b
[root@mppaynew upload]# last reboot
[root@mppaynew upload]# uptime