/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
服务器shell脚本执行完会返回此提示,您只需要
向
/etc/environment
添加内容
LANG=en_US.utf-8 LC_ALL=en_US.utf-8
后保存。
针对centos ,almalinux 等
请登录已经激活账号继续浏此文章所有内容!
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
服务器shell脚本执行完会返回此提示,您只需要
向
/etc/environment
添加内容
LANG=en_US.utf-8 LC_ALL=en_US.utf-8
后保存。
针对centos ,almalinux 等
内容说明:如您需要转载本文请保留以下信息是对作者发文的支持与尊重:/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 来源于 https://www.magentola.com/news-read-352.html