set timezone ubuntu terminal code example Example: ubuntu server change timezone $ sudo dpkg-reconfigure tzdata