`
tanlingcau
  • 浏览: 135854 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

linux 修改系统时间

阅读更多
date 显示当前时间

date -s 按字符串方式修改时间
如:
    date -s 2012-01-01
    date -s 15:15:00
    date -s "2012-01-01 15:15:00"

修改完后输入:clock -w把系统时间写入CMOS
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics