Linux shell命令的实际应用——查看并修改系统时区

字体大小: 中小 标准 ->行高大小: 标准

Linux shell命令:

date -R  //查询当前系统时间与默认时区

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime    //改为上海所在时区(也是8区)

hwclock  //将当前时间固化到BIOS,重启后依然准确

效果如图

Linux shell命令的实际应用——查看并修改系统时区

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/64819.html