-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory


(Marcin Konopka) #1

So I was sshing my server and from it sshying another server and then drag and drop file (while ssh inside ssh). And now I have "-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory" on CentOS - OS wich was last in this inception, and I don't know where did the file go in Debian - OS i was sshing from :wink:

How to fix this "-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory" and where is this file so I can delete it. Thank you in advance.


(Yang.Y) #2

The root cause is .bashrc or .bash_profile was loaded exclusively, please go to Troubleshooting section of this post for solution: