How does linux modify the time zone
This article mainly introduces "how to modify the time zone by linux". In the daily operation, I believe many people have doubts about how to modify the time zone in linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to modify the time zone in linux". Next, please follow the editor to study!
Ubuntu modifies the time zone using tzselect
Select the appropriate time zone, and then:
Ln-sf / usr/share/zoneinfo/Asia/Shanghai / etc/localtime use Systemd to change the Linux system time zone sudo timedatectl set-timezone 'Asia/Shanghai' use the command line interface to modify sudo dpkg-reconfigure tzdata, this is the end of the study on "how linux modifies the time zone", hoping to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!