修改LINUX主机时间,永久有效!

来源:互联网 发布:2017淘宝差评怎么删除 编辑:程序博客网 时间:2024/04/27 21:42

怎么用命令行方式修改机器的时间?
su -c 'date -s 月/日/年 '
      su -c 'date -s 时:分:秒'