man 透過 --locale=語系
指定要看的語系說明,但不清楚語系名稱時進入usr/share/man
查詢:
ls -la /usr/share/man danny@EDY-G41MT-D3:/usr/share/man$ ls -la total 484 drwxr-xr-x 36 root root 4096 Sep 23 08:53 . drwxr-xr-x 347 root root 12288 Dec 3 17:01 .. drwxr-xr-x 5 root root 4096 Feb 7 2020 cs drwxr-xr-x 5 root root 4096 Feb 7 2020 da drwxr-xr-x 6 root root 4096 Feb 7 2020 de drwxr-xr-x 6 root root 4096 Sep 23 08:53 es drwxr-xr-x 3 root root 4096 May 11 2022 fi drwxr-xr-x 6 root root 4096 May 11 2022 fr drwxr-xr-x 3 root root 4096 May 11 2022 hr drwxr-xr-x 5 root root 4096 May 11 2022 hu drwxr-xr-x 5 root root 4096 May 11 2022 id drwxr-xr-x 5 root root 4096 Feb 7 2020 it drwxr-xr-x 6 root root 4096 Sep 23 08:53 ja drwxr-xr-x 5 root root 4096 Feb 7 2020 ko drwxr-xr-x 2 root root 102400 Dec 3 17:01 man1 drwxr-xr-x 2 root root 24576 May 17 2022 man2 drwxr-xr-x 2 root root 122880 Nov 4 09:37 man3 drwxr-xr-x 2 root root 4096 Dec 3 17:01 man4 drwxr-xr-x 2 root root 28672 Dec 3 17:01 man5 drwxr-xr-x 2 root root 4096 Nov 2 11:30 man6 drwxr-xr-x 2 root root 16384 Nov 2 11:30 man7 drwxr-xr-x 2 root root 53248 Dec 3 17:01 man8 drwxr-xr-x 6 root root 4096 May 11 2022 nl drwxr-xr-x 5 root root 4096 Feb 7 2020 pl drwxr-xr-x 6 root root 4096 May 11 2022 pt drwxr-xr-x 5 root root 4096 May 11 2022 pt_BR drwxr-xr-x 5 root root 4096 May 11 2022 ro drwxr-xr-x 6 root root 4096 Sep 23 08:53 ru drwxr-xr-x 4 root root 4096 May 11 2022 sl drwxr-xr-x 5 root root 4096 May 11 2022 sr drwxr-xr-x 6 root root 4096 Jun 28 10:52 sv drwxr-xr-x 5 root root 4096 Feb 7 2020 tr drwxr-xr-x 5 root root 4096 May 11 2022 uk drwxr-xr-x 4 root root 4096 Sep 23 08:53 vi drwxr-xr-x 10 root root 4096 Dec 22 11:29 zh_CN drwxr-xr-x 10 root root 4096 Dec 22 11:29 zh_TW danny@EDY-G41MT-D3:/usr/share/man$
看到語系名稱後指定語系就完成,這裡指定zh_TW
查詢指令pwd
man --locale=zh_TW pwd
The post 2022-12-22 man 指定語言 語系 appeared first on 可丁丹尼 @ 一路往前走2.0.