一、查看时间:

[root@localhost ~]# date
2016年 11月 19日 星期六 12:46:37 CST

二、修改时间,修改系统时间

[root@localhost ~]# date 111912472016.30  <== 月日时分年.秒
2016年 11月 19日 星期六 12:47:30 CST

三、将当前系统时间写入硬件,更新硬件时间

[root@localhost ~]# hwclock -w

直接敲hwclock 是查看硬件时间(默认带-r读的意思)-w是写的意思。

 

相关文章:

  • 2022-12-23
  • 2021-12-20
  • 2021-12-21
  • 2021-08-02
  • 2021-11-17
  • 2021-06-11
  • 2022-02-08
  • 2021-06-28
猜你喜欢
  • 2021-07-17
  • 2021-06-06
  • 2022-12-23
  • 2021-04-12
  • 2021-12-05
相关资源
相似解决方案