Shell/Bash: linux check timezone Example

By

Shell/Bash Example: This is the "linux check timezone" Example. compiled from many sources on the internet by SimpleTutorials.org

linux check timezone

$ timedatectl | grep “Time zone”

linux check timezone

$ date +"%Z %z"

linux how to display current time with timezone

timedatectl

Output
------------
                      Local time: Tue 2019-12-03 16:30:44 UTC
                  Universal time: Tue 2019-12-03 16:30:44 UTC
                        RTC time: Tue 2019-12-03 16:30:44
                       Time zone: Etc/UTC (UTC, +0000)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no



* Summary: This "linux check timezone" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others