ubuntu get current timezone code example Example 1: linux check timezone $ timedatectl | grep “Time zone” Example 2: linux check timezone $ date +"%Z %z"