How to modify the language environment variables of a user in linux

Source: Internet
Author: User
In linux, how to modify the language environment variable of a user-Linux Enterprise Application-Linux server application information is as follows. The problem is that, on the managed server, some can enter Chinese characters in the terminal, some cannot, and garbled characters will appear. Compare the corresponding environment variables. We found that the environment variables for the language are different. I searched a lot of materials online and did not find a solution. After reading the relevant sections in the book, I found a solution. (The amount of information on the network is too large, sometimes it will waste a lot of time, but you still don't find what you want)

Record the methods and principles.

Bash shell configuration file:

/Etc/profile is used to set several important variables, such as PATH, USER, MAIL, HOSTNAME, HISTSIZE, and UMASK.
QUOTE:

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.