1、

date -s "20160601 18:30:50" && hwclock --systohc

2、查看当前时间

date "+%Y-%m-%d %H:%M:%S" 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2021-12-27
  • 2021-08-04
  • 2021-07-29
  • 2021-12-25
猜你喜欢
  • 2021-09-10
  • 2021-06-03
  • 2021-11-06
  • 2021-06-30
  • 2021-04-11
  • 2021-08-30
  • 2021-12-29
相关资源
相似解决方案