• RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Change timezone of ubuntu machine from command line

If you guys want to change timezone of your ubuntu machine then you can do it by issuing:

dpkg-reconfigure tzdata

This may be helpful if you deal with servers.

20 Responses so far.

  1. [...] For ubuntu: [1]/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/ [...]

  2. theeroo says:

    very nice,helpful. Thank U.

  3. [...] For ubuntu: [1]/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/ [...]

  4. [...] Changing timezone from command line | WebOnRails. October 18th, 2009 | Tags: Linux, timezone, ubuntu | Category: Linux, [...]

  5. [...] For ubuntu: [1]/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/ [...]

  6. Candide says:

    nice, thanks.

    isn’t there a way (there must, that’s what dpkg-reconfigure does) to modify some conf file, and reload something to have `date’ have new tz?

  7. Steven Tuxfield says:

    Thanks a lot. It solved my problem nicely.

  8. Matti says:

    Thanks!

  9. lantjie says:

    hey, it help me thanks

  10. Edward says:

    Tnx alot it is very usefull…

  11. [...] For ubuntu: [1]/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/ [...]

  12. Chris says:

    Rock on, very helpful.

  13. It’s a nice trick! Thanks a lot ;-)

  14. Brent says:

    Awesome information. Thanks man!

  15. Romac says:

    +1 That’s now been incorporated into my server install scripts, so thank you very much for sharing it :)

  16. Kunju says:

    thanx ………………….

  17. [...] timezone from command line Ubuntu dpkg-reconfigure tzdata source Author: WladyX on 1 March, 2012 Category: Ubuntu Older: grub-pc dpkg: error processing some [...]

  18. Ramya says:

    Thankyou..

  19. Mark says:

    Very easy method, thank you very much.


Asset Pipeline has been extracted a...

The asset pipeline which was introduced in Rails 3.1, has ...

ClientSideValidations: Add/Map mode...

#/status/256699237230845952

Action and Page caching has been ex...

With the commit c82cf81f00f Action and Page caching has been extracted ...

turbo-sprockets-rails3: Speeds up ...

#/status/253420357841723393

EdgeRails: ActiveRecord::SessionSto...

With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...

Asset Pipeline has been extracted a...

The asset pipeline which was introduced in Rails 3.1, has ...

ClientSideValidations: Add/Map mode...

#/status/256699237230845952

Action and Page caching has been ex...

With the commit c82cf81f00f Action and Page caching has been extracted ...

turbo-sprockets-rails3: Speeds up ...

#/status/253420357841723393

EdgeRails: ActiveRecord::SessionSto...

With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...