LoginSignup
2
2

More than 3 years have passed since last update.

RHEL ロケール(locale)確認方法

Last updated at Posted at 2019-11-19

Linux RedHatロケールを確認するには?

localctlコマンドを利用する

Linux RedHat7.7のロケールを確認する為には、localectlコマンドを利用します。
実行コマンドと結果は下記の通りです。

# localectl status 
  System Locale:LANG=ja_JP.utf8
  VC Keymap: us
  X11 Layout: n/a

ロケールを変更したい場合

①まず、設定できるロケールを参照します。

# localectl list-locales

②次に設定します。「設定したいロケール」の箇所は先ほどのリストから設定したい言語を選出し入力すればOKです。

# localectl set-locale LANG=設定したいロケール

③設定が反映されているのかを確認します

# localectl status

引用

RHEL7のシステムロケールを設定する

https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-keyboard_configuration

システムロケール変更の設定をする

https://www.atmarkit.co.jp/ait/articles/1811/30/news060.html

以上がロケールの確認方法でした。
最後までご覧いただきありがとうございました!
変更・修正箇所等ございましたらご指摘いただけますと幸いです。
宜しくお願い致します。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2