{"id":1805,"date":"2020-08-01T13:30:00","date_gmt":"2020-08-01T10:30:00","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=1805"},"modified":"2020-07-26T19:23:02","modified_gmt":"2020-07-26T16:23:02","slug":"fastest-way-to-change-the-timezone-in-linux","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/fastest-way-to-change-the-timezone-in-linux\/","title":{"rendered":"Fastest way to Change the Timezone in Linux"},"content":{"rendered":"\n<p>I promised you the fastest way, so I wont waste your time.<\/p>\n\n\n\n<p>Just follow along the Steps<\/p>\n\n\n\n<p><strong>Step 1. Get your current TimeZone<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>date<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"241\" height=\"39\" data-attachment-id=\"1806\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/fastest-way-to-change-the-timezone-in-linux\/attachment\/image-25\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-25.png?fit=241%2C39&amp;ssl=1\" data-orig-size=\"241,39\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-25\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-25.png?fit=241%2C39&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-25.png?resize=241%2C39&#038;ssl=1\" alt=\"\" class=\"wp-image-1806\"\/><\/figure>\n\n\n\n<p><strong>Step 2: Get the value for the timzezone you want<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>cd \/usr\/share\/zoneinfo\/<\/p><p>tzselect<\/p><\/blockquote>\n\n\n\n<p>Now select the timezone, by passing the numbers corresponding to the value you want to select<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"285\" data-attachment-id=\"1807\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/fastest-way-to-change-the-timezone-in-linux\/attachment\/image-26\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-26.png?fit=601%2C285&amp;ssl=1\" data-orig-size=\"601,285\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-26\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-26.png?fit=601%2C285&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-26.png?resize=601%2C285&#038;ssl=1\" alt=\"\" class=\"wp-image-1807\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-26.png?w=601&amp;ssl=1 601w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-26.png?resize=300%2C142&amp;ssl=1 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/figure>\n\n\n\n<p><strong>Step 3: You will get a result similar to this<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"60\" data-attachment-id=\"1808\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/fastest-way-to-change-the-timezone-in-linux\/attachment\/image-27\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-27.png?fit=568%2C60&amp;ssl=1\" data-orig-size=\"568,60\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-27\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-27.png?fit=568%2C60&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-27.png?resize=568%2C60&#038;ssl=1\" alt=\"\" class=\"wp-image-1808\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-27.png?w=568&amp;ssl=1 568w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-27.png?resize=300%2C32&amp;ssl=1 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p><strong>Step 4: Use the TZ value you received in the previous step and run the below command on your terminal<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>timedatectl set-timezone Asia\/Kolkata<\/p><\/blockquote>\n\n\n\n<p><strong>Step 5 : Verify<\/strong><\/p>\n\n\n\n<p>Run the date command again to verify<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"236\" height=\"38\" data-attachment-id=\"1809\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/fastest-way-to-change-the-timezone-in-linux\/attachment\/image-28\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-28.png?fit=236%2C38&amp;ssl=1\" data-orig-size=\"236,38\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-28\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-28.png?fit=236%2C38&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-28.png?resize=236%2C38&#038;ssl=1\" alt=\"\" class=\"wp-image-1809\"\/><\/figure>\n\n\n\n<p>That\u2019s it! Cheers! See you in the next one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I promised you the fastest way, so I wont waste your time. Just follow along the Steps Step 1. Get your current TimeZone date Step 2: Get the value for the timzezone you want cd \/usr\/share\/zoneinfo\/ tzselect Now select the timezone, by passing the numbers corresponding to the value you<\/p>\n","protected":false},"author":4,"featured_media":1810,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,3],"tags":[],"class_list":["post-1805","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","category-tutorial-how-to"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/silhouette_composed_of_clocks_with_portions_drifting_away_by_thinkstock_647004812_abstract_background_by_tomislav_jakupe_cc0_via_pixabay-100819000-large.jpg?fit=1200%2C800&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-t7","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1053,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/creating-your-own-webmail-using-roundcube-on-ubuntu-16-04\/","url_meta":{"origin":1805,"position":0},"title":"Creating your own webmail using Roundcube on Ubuntu 16.04","author":"Daniel Draga","date":"October 5, 2017","format":false,"excerpt":"Webmail allows you to easily access your e-mails anytime and anywhere if you have a device with an internet access and web browser. \u00a0You can easily create a webmail using Roundcube. Roundcube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It is a free and open\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3487,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-fail2ban-on-centos\/","url_meta":{"origin":1805,"position":1},"title":"How to Install and Configure fail2ban on CentOS","author":"George B.","date":"June 10, 2023","format":false,"excerpt":"We'll walk you through the step-by-step process of installing and configuring fail2ban on CentOS. By the end, you'll have a robust defense mechanism in place to protect your server from unauthorized access attempts. In today's interconnected world, security is of utmost importance, especially for servers and systems that are constantly\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3870,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-couchdb-on-ubuntu-22-04\/","url_meta":{"origin":1805,"position":2},"title":"How to Install CouchDB on Ubuntu 22.04","author":"George B.","date":"September 14, 2023","format":false,"excerpt":"In this article, we will provide a detailed guide on how to install CouchDB on Ubuntu 22.04. Data management is now one of the most important aspects of any business, especially with the advent of the digital age. This is where database management systems like CouchDB are useful. The Apache\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-CouchDB-on-Ubuntu-22-04.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2559,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/add-and-use-your-own-custom-iso-on-a-vps\/","url_meta":{"origin":1805,"position":3},"title":"Add and use your own custom ISO on a VPS","author":"George B.","date":"May 23, 2022","format":false,"excerpt":"Virtono.com is giving you the opportunity to use your own custom ISO. In order to add your custom ISO, you have a few steps to do. Let's get started: 1 - Login to your Cloud Panel You can use your own system OS ISO if you have the image link.\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/05\/3.png?fit=1200%2C629&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/05\/3.png?fit=1200%2C629&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/05\/3.png?fit=1200%2C629&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/05\/3.png?fit=1200%2C629&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/05\/3.png?fit=1200%2C629&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2672,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/how-to-add-reverse-dns\/","url_meta":{"origin":1805,"position":4},"title":"How To Add Reverse DNS","author":"George B.","date":"June 14, 2022","format":false,"excerpt":"Virtono.com is giving you the opportunity to set the Reverse DNS by yourself. In order to do this, you have a few steps to do. Let\u2019s get started: 1 \u2013 Login to your Cloud Panel You need to login into your Cloud Panel: https:\/\/cloud.virtono.com:4083\/ 2 - Select the Reverse DNS\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-09.24.42.png?fit=1200%2C533&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-09.24.42.png?fit=1200%2C533&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-09.24.42.png?fit=1200%2C533&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-09.24.42.png?fit=1200%2C533&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-09.24.42.png?fit=1200%2C533&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2711,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-find-and-replace-in-phpmyadmin\/","url_meta":{"origin":1805,"position":5},"title":"How to Find and replace in phpMyAdmin","author":"George B.","date":"June 24, 2022","format":false,"excerpt":"Find and replace in phpMyAdmin Start by logging into cPanel 1. Next, choose phpMyAdmin. 2. Next, choose the Database you want to use the search and replace function. 3. You will find on the left side all the tables of your MySQL database. Click on the table you wish to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/PhpMyAdmin-Logo.wine_.png?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/PhpMyAdmin-Logo.wine_.png?fit=1200%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/PhpMyAdmin-Logo.wine_.png?fit=1200%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/PhpMyAdmin-Logo.wine_.png?fit=1200%2C800&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/06\/PhpMyAdmin-Logo.wine_.png?fit=1200%2C800&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=1805"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1805\/revisions"}],"predecessor-version":[{"id":1812,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1805\/revisions\/1812"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1810"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}