Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在连接到远程服务器(使用 bash)。某些命令(例如cp,rm等)不正确地显示引号:
cp
rm
$ rm ./test rm: remove regular file ‘./test€™?
为什么会这样,我该如何解决?
export LANG=C
我想问题是你的工作站有一些本地化的 LANG,它被传递到服务器上的环境,但服务器不能正确理解它。