Skip to content

Instantly share code, notes, and snippets.

@libern
Created May 24, 2016 14:55
Show Gist options
  • Save libern/4b224e4cc85fc4ec31331aa776c6d00b to your computer and use it in GitHub Desktop.
Save libern/4b224e4cc85fc4ec31331aa776c6d00b to your computer and use it in GitHub Desktop.
#! /bin/bash
echo "\n\n------------\n\nSetting locale to en_US..."
#sudo echo 'LANG="en_US.UTF-8"
#LC_MESSAGES="C"
#LC_ALL="en_US.UTF-8"' >> /etc/environment
echo 'LANG="en_US.UTF-8"
LC_MESSAGES="C"
LC_ALL="en_US.UTF-8"' | sudo tee -a /etc/environment
echo "\n\nAfter reboot, use 'locale' to check\n\n"
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment