切换为中文:
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..
momo6656 2021-07-15 17:13 原文
切换为中文:
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..