Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of linux ls garbled code

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to solve the linux ls garbled problem, I hope you will gain something after reading this article, let's discuss it together!

Linux ls garbled solution: 1, open the command window; 2, modify the system environment variable "/ etc/sysconfig/i18n LANG=" zh_CN.GB18030 "LANGUAGE=" zh_CN.GB18030:zh_CN.GB2312... ".

This article operating environment: linux5.9.8 system, Dell G3 computer.

Use ls to check the file garbled problem under Linux system:

I use ssh and putty to check that there is this problem.. As follows

Solution:

Modify system environment variable i18n

[root@linux ~] # vi / etc/sysconfig/i18nLANG= "zh_CN.GB18030" LANGUAGE= "zh_CN.GB18030:zh_CN.GB2312:zh_CN" SUPPORTED= "zh_CN.UTF-8:zh_CN:zh:zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en" SYSFONT= "lat0-sun16"

After reading this article, I believe you have a certain understanding of "how to solve the problem of linux ls garbled". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report