Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

Changing The Time Zone In Linux

Two methods to do this :

cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime 


ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime










1. 查看當前時區
            date -R
2. 修改設置時區
       方法(1)
            tzselect
       選擇以後直接TZ='Asia/Shanghai'; export TZ生效
        
       選擇以後直接TZ='UTC'; export TZ生效