Shell/Bash: how to change time zone in ubuntu 18.04 server Example

By

Shell/Bash Example: This is the "how to change time zone in ubuntu 18.04 server" Example. compiled from many sources on the internet by SimpleTutorials.org

how to change time zone in ubuntu 18.04 server

sudo timedatectl set-timezone your_time_zone

how to change time zone in ubuntu 18.04 server

$ sudo timedatectl set-timezone Europe/Bratislava

how to change time zone in ubuntu 18.04 server

timedatectl list-timezones

how to change time zone in ubuntu 18.04 server

$ timedatectl list-timezones | grep -i europe
Europe/Amsterdam
Europe/Andorra
Europe/Astrakhan
Europe/Athens
Europe/Belgrade
Europe/Berlin
Europe/Bratislava
Europe/Brussels
Europe/Bucharest
Europe/Budapest
Europe/Busingen
...
Europe/Zurich



* Summary: This "how to change time zone in ubuntu 18.04 server" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others