Friday, February 26, 2016

How to change time zone

Using the Command Line (terminal)

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

1.

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

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.

Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA



from WordPress http://ift.tt/1XPL83R

No comments:

Post a Comment