1. Set the system time
The date command sets the dates to June 18, 2014
----Date-s 06/18/14
Set the time to 14 points, 20 minutes, 50 seconds
----Date-s 14:20:50
Set the time to June 18, 2014 14:16 30 seconds (MMDDHHMMYYYY.SS)
----Date 0618141614.30
2. Set the system time zone:
Tzselect
[Email protected] trunk]# Tzselect
Please identify a, so, time zone rules can be set correctly.
Please select a continent, Ocean, "coord", or "TZ".
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
Pacific Ocean
One) Coord-i want to use geographical coordinates.
Tz-i want to specify the time zone using the Posix TZ format.
#? 5
Please select a country whose clocks agree with yours.
1) Afghanistan Israel) Palestine
2) Armenia Japan) Philippines
3) Azerbaijan Jordan PNs) Qatar
4) Bahrain Kazakhstan) Russia
5) Bangladesh Korea (north), Saudi Arabia
6) Korea (south) Bhutan) Singapore
7) Brunei Kuwait) Sri Lanka
8) Cambodia Kyrgyzstan) Syria
9) Laos) Taiwan
(Cyprus) Lebanon) Tajikistan
(one) East Timor) Macau Thailand
(Georgia) Malaysia) Turkmenistan
Hong Kong) Mongolia Arab Emirates
India) Myanmar (Burma) Uzbekistan
(Indonesia) Nepal) Vietnam
Iran) Oman Yemen
() Iraq) Pakistan
#? 9
Please select one of the following time zone regions.
1) Beijing time
2) Xinjiang time
Linux set system time and time zone