{"id":988,"date":"2012-07-10T07:40:23","date_gmt":"2012-07-10T12:40:23","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=988"},"modified":"2012-07-10T07:40:23","modified_gmt":"2012-07-10T12:40:23","slug":"change-timezone-linux-cli","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2012\/07\/change-timezone-linux-cli\/","title":{"rendered":"Change Timezone Linux CLI"},"content":{"rendered":"<p>I had a security-onion box running and it defaults to UTC\/GMT time.\u00c2\u00a0 This was fine for me as I could do the subtraction of time in my head, but for some in management they were questioning my findings due to the time being off.\u00c2\u00a0 So, to make my life easier, I decided to change the timezone.<\/p>\n<p>The timezone under Linux is set by a symbolic link from \/etc\/localtime to a file in the \/usr\/share\/zoneinfo directory that corresponds with what timezone you are in. For example, since I&#8217;m in Chicago, \/etc\/localtime is a symlink to \/usr\/share\/zoneinfo\/America\/Chicago. To set this link, type:<\/p>\n<p><code>ln -sf \/usr\/share\/zoneinfo\/<em>your\/zone<\/em> \/etc\/localtime<\/code><\/p>\n<p>http:\/\/www.linuxsa.org.au\/tips\/time.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a security-onion box running and it defaults to UTC\/GMT time.\u00c2\u00a0 This was fine for me as I could do the subtraction of time in my head, but for some in management they were questioning my findings due to the time being off.\u00c2\u00a0 So, to make my life easier, I decided to change the &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2012\/07\/change-timezone-linux-cli\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Change Timezone Linux CLI<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-988","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=988"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/988\/revisions"}],"predecessor-version":[{"id":989,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/988\/revisions\/989"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}