Linux command
eselect-locale 命令
趣味
复制后可按需替换文件名、目录或参数。
常用示例
List
eselect locale list
Set
eselect locale set [en_US.utf8]
Set
eselect locale set [4]
Display
eselect locale show
说明
eselect locale manages the LANG environment variable on Gentoo systems. It sets the system-wide language and locale by modifying /etc/env.d/02locale. After changes, run `env-update && source /etc/profile` to apply. Part of the eselect framework for system configuration.
参数
- list
- List available locales.
- set _target_
- Set LANG to specified locale (by name or index number).
- show
- Display current LANG setting.
FAQ
What is the eselect-locale command used for?
eselect locale manages the LANG environment variable on Gentoo systems. It sets the system-wide language and locale by modifying /etc/env.d/02locale. After changes, run `env-update && source /etc/profile` to apply. Part of the eselect framework for system configuration.
How do I run a basic eselect-locale example?
Run `eselect locale list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in eselect-locale?
List available locales.