Solution to linux Command display in Chinese

Source: Internet
Author: User

Linux Command Chinese display solution to play Linux comrades, most of them use vmware to install a virtual Linux on their own machines, but due to the many character interfaces, sometimes we always need to press ctrl + atl to switch back and forth between the system and the virtual machine when doing experiments on materials. This is very troublesome and can be easily solved with Putty. Putty is a green software that can be used without installation. Download it and put it on the desktop. Double-click it when using it. However, the time for displaying Chinese Characters in Putty is often garbled. If you want to display the Chinese prompt information in Putty, you need to make some settings. 1. Linux system settings 1) Disable Linux Firewall # iptables-F # iptables save 2) edit/etc/sysconfig/i18n, change LANG = en_US.UTF-8 to LANG = zh_CN.UTF-8SUPPORT = en_US.UTF-8 .... Make a similar change, then execute: #./etc/sysconfig/i18n # locale (check local locale) If you see information such as LANG = zh_CN.UTF-8, it indicates that the change was successful. 2. Set Putty to ensure connection from WINDOWS to linux virtual machines. Open putty, enter the address of the Linux virtual machine in the Hostname column, click Open to connect to the virtual machine, and enter the user name and password to log on to the system. Click the icon in the upper left corner and select change setting... Click Window-> Appearance, set the font to "" Point Translation, open the following list, select UTF-8 point Colours, select "Use system colours", or customize the settings, enter the date command in the Command window to check whether it is similar to the following output: # date, January 1, June 5 11:54:09 CST 2006, and try the following command: # cd/etcc-bash: cd: /etcc: No file or directory. No problem! There is a problem later. Delete the putty session and change the utf8 in the Translation to use font encode.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.