mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 19:51:47 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/eselect-locale
Normal file
21
tldr/linux/eselect-locale
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# eselect locale
|
||||
|
||||
> An `eselect` module for managing the `LANG` environment variable, which sets the system language.
|
||||
> More information: <https://wiki.gentoo.org/wiki/Eselect#Locale>.
|
||||
|
||||
- List available locales:
|
||||
|
||||
`eselect locale list`
|
||||
|
||||
- Set the `LANG` environment variable in `/etc/profile.env` by name or index from the `list` command:
|
||||
|
||||
`eselect locale set {{name|index}}`
|
||||
|
||||
- Display the value of `LANG` in `/etc/profile.env`:
|
||||
|
||||
`eselect locale show`
|
||||
Reference in New Issue
Block a user