修改linux 时间格式

[pythonx]$ date
Thu Oct 17 02:33:11 EDT 2019
[pythonx]$

1、备份当前的时间

mv /etc/localtime /etc/localtime.bak
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

2、在查看时间
[pythonx]$ date
Thu Oct 17 14:48:52 CST 2019

相关文章:

  • 2022-12-23
  • 2021-08-18
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
猜你喜欢
  • 2022-01-09
  • 2021-07-23
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案