Total Pageviews

Thursday, 24 June 2021

Linux显示中文的方法


修改远程主机的bash显示编码

nano    ~/.bashrc

添加如下内容:

export LANG='UTC-8' 
export LC_ALL='en_US.UTF-8'

生效:

source ~/.bashrc

No comments:

Post a Comment