{"id":150,"date":"2014-05-15T13:34:37","date_gmt":"2014-05-15T13:34:37","guid":{"rendered":"http:\/\/muse.oneshot.in\/?p=150"},"modified":"2014-05-15T13:39:08","modified_gmt":"2014-05-15T13:39:08","slug":"how-to-change-the-date-and-time-in-linux","status":"publish","type":"post","link":"https:\/\/muse.oneshot.in\/?p=150","title":{"rendered":"How to Change the date and Time in Linux"},"content":{"rendered":"<p>&#8220;date&#8221; is the command used to manupulate the date and time of a linux system.<br \/>\n-s option used along with date command can be used to change the date and time<\/p>\n<p>[root@nagios1 ~]# date<br \/>\nSat May 10 11:17:41 IST 2014<\/p>\n<p>Copy the above date output and modify to the date and time that needs to be set\u00a0 and use along with the &#8220;-s&#8221; option with date command as below change the date.<\/p>\n<p>[root@nagios1 ~]# date -s &#8220;Thu May 15 19:02:14 IST 2014&#8221;<br \/>\nThu May 15 19:02:14 IST 2014<br \/>\n[root@nagios1 ~]# date<br \/>\nThu May 15 19:02:16 IST 2014<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;date&#8221; is the command used to manupulate the date and time of a linux system. -s option used along with date command can be used to change the date and time [root@nagios1 ~]# date Sat May 10 11:17:41 IST 2014 Copy the above date output and modify to the date and time that needs to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":156,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6,8,4],"tags":[16,10,13,15,12,11,14],"class_list":["post-150","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information-technology","category-linux","category-linux-commands","category-redhat","tag-change","tag-date","tag-linux-2","tag-manipulate","tag-redhat-2","tag-time","tag-unix"],"_links":{"self":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=150"}],"version-history":[{"count":2,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/150\/revisions\/157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/media\/156"}],"wp:attachment":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}