When executing commands on Linux, errors appear: failed to set locale, defaulting to C
error reporting reason
The correct locale is not set
solution
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile source /etc/profile
Similar Posts:
- CentOS Error: Failed to set locale, defaulting to C
- CentOS Error -bash:systemctl:command not found
- Linux use the man command error: Man: command not found [How to Solve]
- Mac ADB prompts command not found
- [Solved] Mac install maven Error: zsh: command not found: MVN
- Linux cron has no effect after executing the script, and the log reports an error orphan (no passwd entry)
- HDFS Operate hadoop Error: Command not Found [How to Solve]
- nvm is not compatible with the npm config prefix option:
- [Warning] Using a password on the command line interface can be insecure. (Solved)
- error: exportArchive: The data couldn’t be read because it isn’t in the correct format.