Ubuntu server: change timezone

Print

ubuntu-logoQ. How do I update the timezone on an Ubuntu Server?

A. Two easy steps:

NB: This will overwrite whatever you've had there before:

~# sudo echo "America/New_York" > /etc/timezone

~# sudo dpkg-reconfigure --frontend noninteractive tzdata

Done

 

Linux