當安裝完中文化的Linux以後,終端機下指令回應的訊息都會變成中文。出現中文雖然方便閱讀,但有時候要google程式出現的問題的時候,還是英文比較方便。例如說執行df這個指令時,希望出現的回應是英文執行:
要永久讓終端機都顯示英文,那就在~/.bashrc加入下面這行:
要看目前系統設定的語系環境,則是
執行local,會出現像下面的訊息:
- LANG=zh_TW.UTF-8
- LC_CTYPE="zh_TW.UTF-8"
- LC_NUMERIC="zh_TW.UTF-8"
- LC_TIME="zh_TW.UTF-8"
- LC_COLLATE="zh_TW.UTF-8"
- LC_MONETARY="zh_TW.UTF-8"
- LC_MESSAGES=zh_TW.UTF-8
- LC_PAPER="zh_TW.UTF-8"
- LC_NAME="zh_TW.UTF-8"
- LC_ADDRESS="zh_TW.UTF-8"
- LC_TELEPHONE="zh_TW.UTF-8"
- LC_MEASUREMENT="zh_TW.UTF-8"
- LC_IDENTIFICATION="zh_TW.UTF-8"
- LC_ALL=
_EOF_
沒有留言:
張貼留言