终端中英文提示切换

切换为中文:

LANG=zh_CN.UTF-8

[root@localhost ~]# LANG=zh_CN.UTF-8
[root@localhost ~]# asdadas
bash: asdadas: 未找到命令...

切换到英文:

LANG=en_US. UTF-8

[root@localhost ~]# LANG=en_US.UTF-8
[root@localhost ~]# asdadas
bash: asdadas: command not found..

posted @ 2021-07-15 17:13  落樰兂痕  阅读(61)  评论(0编辑  收藏  举报