Setting a lcoale globally

Mike. the.lists at mgm51.com
Fri Jun 14 16:13:44 UTC 2013



I would like to set the locale of my 9.1 server to

   LANG="en_US.ISO8859-1"


globally, i.e., put the locale entry in one file, and then have the
locale propagate as I go into other shells and run various scripts.


I have spent some quality time with google, and the best I have been
about to ascertain is that I need to sprinkle the LANG setting
throughout the various ENV variables and .profile, .cshrc, .bashrc, and
whatever files spread across my directory tree.


That really seems counter-intuitive to me.


Is it at all possible for me to specify in once place *somewhere" that
the entire server is to use the locale setting LANG="en_US.ISO8859-1" ?

I need a clue...


thanks.





More information about the freebsd-questions mailing list