Tag: tzselect

  • Linux命令之tzselect

    tzselect命令用於選擇時區。要註意的是tzselect只是幫我們把選擇的時區顯示出來,並不會實際生效,也就是說它僅僅告訴我們怎麽樣去設置環境變量TZ。(TZ = Time Zone)(The  tzselect  program asks the user for information about the current location, and outputs the resulting time zone description to standard output.  The output is suitable as a value for the TZ environment variable. All interaction with the user is done via standard input and standard error.)如果妳要永久更改時區,按照tzselect命令提示的信息,在.profile或者/etc/profile中設置正確的TZ環境變量並導出。還有另外壹種更改時區的方法就是直接更改系統配置文件/etc/sysconfig/clock,然後修改符號鏈接/etc/locatime對應的文件,詳見示例三。   常用參數   無。   使用示例   示例壹 將時區更改為北京…