/ linux

bash: setlocale: LC_ALL: cannot change locale

If you encounter the following error on login or user switch inside bash:
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) it might be helpful to run the following steps:

echo "LC_ALL=en_US.UTF-8" >> /etc/environment
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen en_US.UTF-8