How to change time zone

Using the Command Line (terminal)

Using the command line, you can use dpkg-reconfigure tzdata.


Open a terminal window by going to Applications>Accessories>Terminal

dpkg-reconfigure tzdata
3. Follow the directions in the terminal.

Using the Command Line (unattended)

Find out the long description for the timezone you want to configure. Save
this name to /etc/timezone and run
sudo dpkg-reconfigure –frontend noninteractive tzdata:

$ echo “Australia/Adelaide” | sudo tee
/etc/timezoneAustralia/Adelaide$ sudo dpkg-reconfigure –frontend
noninteractive tzdataCurrent default time zone:
‘Australia/Adelaide’Local time is now: Sat May 8 21:19:24 CST
2010.Universal Time is now: Sat May 8 11:49:24 UTC 2010.

This can be scripted if required. | khan@azmuna.comRiyadh,KSA


No comments yet.

Leave a Reply