Kali修改时间

前提

要以root身份运行命令。如何切换root身份在https://blog.csdn.net/helloworlddm/article/details/104547808有讲解。

使用的命令

# echo "export TZ='Asia/Shanghai'"  >> /etc/profile  
# cat /etc/profile |grep TZ  
# source /etc/profile
# date -R
# date 

图示

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/helloworlddm/article/details/104569703