|
38.
|
|
|
The <command>rm</command> will remove or delete a file in your directory (<acronym>rm</acronym> stands simply for "remove"). It will not work on directories which have files in them. To remove directories, you can use <command>rm -r</command>. The <emphasis>r</emphasis> stands for <emphasis>recursive</emphasis>. For example: <screen>rm -r foo</screen> will remove the directory named foo and all of its contents.
|
|
|
|
<command>rm</command> はディレクトリにあるファイルを削除します(<acronym>rm</acronym> は "remove"の略)。ファイルが保存されているディレクトリを削除することはできません。ディレクトリを削除するには、<command>rm -r</command>を使用します。 <emphasis>r</emphasis> は再帰的(<emphasis>recursive</emphasis>)という意味です。 <screen>rm -r foo</screen>はfooという名前のディレクトリとその中のすべての内容を削除します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:263(para)
|
|
39.
|
|
|
Using <command>rm -r</command> will delete a complete directory and everything in it without further questions, so be careful with this command.
|
|
|
|
<command>rm -r</command>を使用すると、確認を行わずにディレクトリとその内容を完全に削除します。このコマンドは注意して使用してください。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:273(para)
|
|
40.
|
|
|
mkdir
|
|
|
|
mkdir
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:231(title)
|
|
41.
|
|
|
The <command>mkdir</command> command will allow you to create directories (<acronym>mkdir</acronym> stands simply for "make directory"). For example, typing: <screen>mkdir music</screen> will create a music directory in the current directory.
|
|
|
|
<command>mkdir</command> コマンドはディレクトリを作成します(<acronym>mkdir</acronym>は"make directory"の略)。たとえば、<screen>mkdir music</screen>と入力すると、カレントディレクトリにmusicディレクトリを作成します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:280(para)
|
|
42.
|
|
|
System Information Commands
|
|
|
|
システムの情報に関するコマンド群
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:242(title)
|
|
43.
|
|
|
df
|
|
|
|
df
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:245(title)
|
|
44.
|
|
|
The <command>df</command> command displays filesystem disk space usage for all partitions (<acronym>df</acronym> stands simply for "disk free"). <screen>df -h</screen> will give information using megabytes (M) and gigabytes (G) instead of blocks (<emphasis role="strong">-h</emphasis> means "human-readable").
|
|
|
|
<command>df</command>コマンドはすべてのパーティションのファイルシステムのディスク容量を表示します (<acronym>df</acronym>は"disk free"の略)。<screen>df -h</screen>は情報をブロック数ではなく、メガバイト(M)やギガバイト(G)単位で表示します(<emphasis role="strong">-h</emphasis> は "human-readable" 人に優しいの意味)。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:296(para)
|
|
45.
|
|
|
free
|
|
|
|
free
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:256(title)
|
|
46.
|
|
|
The <command>free</command> command displays the amount of free and used memory in the system. <screen>free -m</screen> will give the information using megabytes, which is probably most useful for current computers.
|
|
|
|
<command>free</command>コマンドは、メモリの空き容量と使用済み容量を表示します。<screen>free -m</screen>とタイプするとメガバイト単位で表示されます。(最近のコンピュータでは、おそらく、このオプションを付けることが適切でしょう。)
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:257(para)
|
|
47.
|
|
|
top
|
|
|
|
top
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:267(title)
|