- Set up Beijing time zone, Asia-China
[Email protected]:~$Tzselectplease Identify a location so this time zone rules can be set correctly. Please select a continent, ocean,"coord", or"TZ". 1) Africa2) Americas3) Antarctica4) Asia5) Atlantic Ocean6) Australia7) Europe8) Indian Ocean9) Pacific Ocean) Coord-I want to use geographical coordinates.) TZ-I want to specify the time zone using the Posix TZ format.#? 4Please select a country whose clocks agree with yours.1) Afghanistan Israel 35) Palestine2) Armenia Japan 36) Philippines3) Jordan 37 Azerbaijan) Qatar4) Bahrain Kazakhstan 38) Russia5) Bangladesh Korea (north) 39) Saudi Arabia6) Bhutan Korea (south) 40) Singapore7) Brunei Kuwait 41) Sri Lanka8) Cambodia Kyrgyzstan 42) Syria9) Laos 43) TaiwanCyprus) Lebanon 44) Tajikistan) East Timor) Macau 45) ThailandGeorgia) Malaysia 46) TurkmenistanHong Kong) Mongolia 47) Arab EmiratesIndia) Myanmar (Burma) 48) UzbekistanIndonesia) Nepal 49) VietnamIran) Oman 50) Yemen) Iraq 34) Pakistan#? 9Please select one of the following time zone regions.1) Beijing Time2) Xinjiang time#? 1The following information has been Given:china Beijing Timetherefore TZ= ' asia/Shanghai ' 'll be used. Selected Time is Now:sat16:02:44 CST 2018. Universal Time is Now:sat08:02:44 UTC 2018. is the above information OK? 1) Yes2) No#? 1You can make this change permanent foryourself by appending the line TZ= ' asia/Shanghai '; export tzto the file '. Profile 'inchyour home directory; Then log out and loginchagain. Here's the TZ value again, this time in standard output so that youcan use the/usr/bin/tzselect commandinchShell Scripts:asia/shanghai
One Linux command per day (3)-Set time zone (Tzselect)