3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

manコマンドの日本語化

Posted at

ロケールを確認

  • ロケールの確認

locale コマンドを使用
一番上が LANG=ja_JP.UTF-8 となっていたらOK

locale
==========
LANG=ja_JP.UTF-8
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=
==========
  • ロケールの変更(CentOS7)

一番上が LANG=ja_JP.UTF-8 となっていない場合は以下でロケールを変更する

localectl set-locale LANG=ja_JP.utf8
localectl status
==========
   System Locale: LANG=ja_JP.UTF-8
       VC Keymap: jp
      X11 Layout: jp
==========
source /etc/locale.conf

日本語のmanコマンドページ集のインストール

  • man-pages-ja をインストール
yum install man-pages-ja
==========
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ man-pages-ja.noarch 0:20130615-6.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

========================================================================================================================================================================
 Package                                    アーキテクチャー                     バージョン                                    リポジトリー                        容量
========================================================================================================================================================================
インストール中:
 man-pages-ja                               noarch                               20130615-6.el7                                base                               5.4 M

トランザクションの要約
========================================================================================================================================================================
インストール  1 パッケージ

総ダウンロード容量: 5.4 M
インストール容量: 5.2 M
Is this ok [y/d/N]: y
Downloading packages:
man-pages-ja-20130615-6.el7.noarch.rpm                                                                                                           | 5.4 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : man-pages-ja-20130615-6.el7.noarch                                                                                                      1/1 
  検証中                  : man-pages-ja-20130615-6.el7.noarch                                                                                                      1/1 

インストール:
  man-pages-ja.noarch 0:20130615-6.el7                                                                                                                                  

完了しました!
==========
  • man コマンド叩いてみる
man cron
==========
CRON(8)                                                               System Manager's Manual                                                               CRON(8)

名前
       cron - 予定されたコマンドを実行するデーモン(Vixie Cron)

書式
       cron

説明
       cron は /etc/rc または /etc/rc.local から起動されるべきである。 すぐに(シェルに)戻るので、'&' を付けて起動する必要はない。
.....
==========
3
4
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
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?