|
66.
|
|
|
Options can be grouped in clusters so <screen>ls -sh</screen> is exactly the same command as <screen>ls -s -h</screen> Most options have a long version, prefixed with two dashes instead of one, so even <screen>ls --size --human-readable</screen> is the same command.
|
|
|
|
複数のオプションを<screen>ls -sh</screen>のようにまとめて表現することもできます。これは、<screen>ls -s -h</screen>と全く同じ意味になります。大半のオプションにはロングバージョンがあり短縮版と区別するために、ハイフン(-)が2つ付いたものになっています。さきの表現を用いれば、<screen>ls --size --human-readable</screen>のようになります。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:363(para)
|
|
67.
|
|
|
"Man" and getting help
|
|
|
|
"Man"とヘルプ
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:374(title)
|
|
68.
|
|
|
<emphasis role="strong"><emphasis>command</emphasis> --help</emphasis> and <emphasis role="strong">man <emphasis>command</emphasis></emphasis> are the two most important tools at the command line.
|
|
|
|
<emphasis role="strong"><emphasis>コマンド名</emphasis> --help</emphasis>と<emphasis role="strong">man<emphasis>コマンド名</emphasis></emphasis>の二つは、コマンドラインを使用する際に最も重要なツールです。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:375(para)
|
|
69.
|
|
|
Virtually all commands understand the <emphasis role="strong">-h</emphasis> (or <emphasis role="strong">--help</emphasis>) option which will produce a short usage description of the command and it's options, then exit back to the command prompt. Type <screen>man -h</screen> or <screen>man --help</screen> to see this in action.
|
|
|
|
ほぼすべてのコマンドで、そのコマンドとオプションの簡略な説明を表示する<emphasis role="strong">-h</emphasis>(<emphasis role="strong">--help</emphasis>)を使うことができます。このオプションが実際にどう動作するかを確認するには、<screen>man -h</screen>または<screen>man --help</screen>と入力してください。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:382(para)
|
|
70.
|
|
|
Every command and nearly every application in Linux will have a man (manual) file, so finding them is as simple as typing <command>man command</command> to bring up a longer manual entry for the specified command. For example, <screen>man mv</screen> will bring up the <command>mv</command> (move) manual.
|
|
|
|
Linux上の全てのコマンドとほとんどのアプリケーションは、manファイル(マニュアル)を持っています。特定のコマンドについて詳細な説明を表示したいなら<command>man コマンド名</command>とするだけでOKです。例えば、<screen>man mv</screen>で<command>mv</command>(move)コマンドのマニュアルが表示されます。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:392(para)
|
|
71.
|
|
|
Move up and down the man file with the arrow keys, and quit back to the command prompt with <keycap>q</keycap>.
|
|
|
|
矢印キーでmanファイルを上下に動かし、<keycap>q</keycap>を押すとmanを終了してコマンドプロンプトに戻ります。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:401(para)
|
|
72.
|
|
|
<screen>man man</screen> will bring up the manual entry for the <command>man</command> command, which is a good place to start.
|
|
|
|
<screen>man man</screen>とタイピングすると、<command>man</command>コマンドに関するマニュアルエントリを表示します(manを知る手始めとしてちょうど良いでしょう)。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:406(para)
|
|
73.
|
|
|
<screen>man intro</screen> is especially useful - it displays the "Introduction to user commands" which is a well-written, fairly brief introduction to the Linux command line.
|
|
|
|
<screen>man intro</screen>は特に便利で、簡潔で内容のある"Introduction to user commands"(ユーザコマンドについての案内)を表示してくれます。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:412(para)
|
|
74.
|
|
|
There are also <command>info</command> pages, which are generally more in-depth than <command>man</command> pages. Try <screen>info info</screen> for the introduction to info pages.
|
|
|
|
<command>info</command>ページというものもあり、一般的に<command>man</command>ページよりも掘り下げた内容になっています。infoページについての概要を知りたい方は<screen>info info</screen>とタイプしてみてください。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:417(para)
|
|
75.
|
|
|
Searching for man files
|
|
|
|
manファイルを検索
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:427(title)
|