博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
X Chen笔记---Centos查看修改时间
阅读量:2395 次
发布时间:2019-05-10

本文共 175 字,大约阅读时间需要 1 分钟。

参考:

 

查看系统时间:  date

修改系统时间:  date -s "2017-10-21  15:15:15

查看硬件时间:  hwclock --show

修改硬件时间:  hwclock --set --date '2016-01-08  15:15:15'

设置系统时间与本地时间同步: hwclock  --hctosys 

保存时钟:  clock -w 

转载地址:http://dhwob.baihongyu.com/

你可能感兴趣的文章
SSHException: Incompatible ssh peer (no acceptable kex algorithm)
查看>>
shell切换用户
查看>>
session机制详解
查看>>
《算法导论》学习总结——第二部分1堆排序
查看>>
linux下进程的一些总结
查看>>
强大的g++呢还是强大的C++?太假了吧
查看>>
C++中的内联函数inline总结
查看>>
C++中的函数指针的一些总结
查看>>
ubuntu下为postgresql添加ODBC驱动过程
查看>>
linux下的su,su -,以及cd,cd - ,cd ~总结
查看>>
CAS锁为什么是乐观锁呢
查看>>
Argument of type '(Foo::)(int,int)' does not match 'void (*)(int,int)'以及静态函数问题
查看>>
今天遇到的postgresql中的备份和恢复
查看>>
正好碰到了C++的函数对象,查各路资料,总结写下来吧
查看>>
今天试vi遇到的“Sorry,the command is not available in this version : syntax on”
查看>>
今天又搞到个libDTL.so is not an ELF file - it has the wrong magic bytes at the start.
查看>>
MinGW和vc6中编译DTL的过程
查看>>
Fedora13下为postgresql添加ODBC驱动过程
查看>>
Bridge模式学习
查看>>
Virtual的一些总结
查看>>