Centos修改系统时间

2018-08-22 20:12 阅读 392 次 Centos修改系统时间已关闭评论

image

 

示例:

[root@localhost ~]# time

real    0m0.000s
user    0m0.000s
sys     0m0.000s
[root@localhost ~]# date
Thu Aug 23 02:06:48 CST 2018
[root@localhost ~]# date -s 180822
Wed Aug 22 00:00:00 CST 2018
[root@localhost ~]# date -s 19:12:30
Wed Aug 22 19:12:30 CST 2018
[root@localhost ~]# clock -w
[root@localhost ~]# date
Wed Aug 22 19:12:47 CST 2018
[root@localhost ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@localhost ~]#

版权声明:本文著作权归原作者所有,欢迎分享,谢谢支持!
转载请保留注明:Centos修改系统时间 | DXL学习
分类:Centos 标签:

评论已关闭!