SHARE
TWEET

Untitled

a guest Nov 14th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. date +%Z
  2.    
  3. -05:00 EST
  4.    
  5. $ cat /etc/timezone
  6.    
  7. Asia/Kolkata
  8.    
  9. $ strings /etc/localtime | tail -n 1
  10. MST7MDT,M3.2.0,M11.1.0
  11.    
  12. # timedatectl
  13.       Local time: Tue 2016-09-13 17:10:26 EDT
  14.   Universal time: Tue 2016-09-13 21:10:26 UTC
  15.         RTC time: Tue 2016-09-13 21:10:26
  16.        Time zone: US/Eastern (EDT, -0400)
  17.  Network time on: yes
  18. NTP synchronized: yes
  19.  RTC in local TZ: no
  20.    
  21. # timedatectl status | grep "zone" | sed -e 's/^[ ]*Time zone: (.*) (.*)$/1/g'`
  22. US/Eastern
RAW Paste Data
Top