arr*_*nge 159
我不知道单个文件,但这可能会为您提供所需的信息:
cat /etc/timezone
grep UTC /etc/default/rcS
date
# hardware clock
sudo hwclock --show
Run Code Online (Sandbox Code Playgroud)
Pan*_*dya 98
使用timedatectl
(在命令行/终端中)的最佳示例(恕我直言):
$ timedatectl
Local time: Thu 2014-07-24 19:51:23 IST
Universal time: Thu 2014-07-24 14:21:23 UTC
Timezone: Asia/Kolkata (IST, +0530)
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: n/a
Run Code Online (Sandbox Code Playgroud)
访问联机帮助页了解更多设置和更多信息。