1.date
date +"%Z %z"
或者
date -R
2.timedatectl
timedatectl|grep "Timezone"
可以使用 timedatectl 来设置 Linux 时区
3.显示文件 /etc/timezone 的内容
cat /etc/timezone
1.date
date +"%Z %z"
或者
date -R
2.timedatectl
timedatectl|grep "Timezone"
可以使用 timedatectl 来设置 Linux 时区
3.显示文件 /etc/timezone 的内容
cat /etc/timezone
转载于:https://www.cnblogs.com/baby123/p/6092438.html