Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
server-administration:change-bash-language [2009-10-14 23:31:16] garrett.plasky created |
server-administration:change-bash-language [2011-07-01 19:14:13] garrett.plasky Approved |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Change the Language in a Linux (BaSH) Shell ====== | ====== Change the Language in a Linux (BaSH) Shell ====== | ||
- | To set your current shell to a different language you use the bash variable LANG followed by the language you want: | + | To set your current shell to a different language you use the bash variable |
- | <code console># LANG=en_us_8859_1</ | + | <sxh bash> |
- | If you want to set that so its used every time add an export line to your .bashrc for that user. the .bashrc file can be found in each users home dir, if they don't have one you can create it: | + | If you want to set that so its used every time add an export line to your <c>.bashrc</ |
- | <code console># export LANG=en_us_8859_1</ | + | <sxh bash>export LANG=en_us_8859_1</ |
- | The command locale will show you information about locale on the server. The command locale -a will give you a list of all the locale you can use. | + | The command locale will show you information about locale on the server. The command |
{{tag> | {{tag> |