|
23.
|
|
|
The <acronym>pwd</acronym> command will allow you to know in which directory you're located (<acronym>pwd</acronym> stands for "print working directory"). For example, typing <screen>pwd</screen> in the <filename class="directory">Desktop</filename> directory, will show <computeroutput>~/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
<acronym>pwd</acronym> コマンドはあなたがどのディレクトリにいるかを教えてくれます(<acronym>pwd</acronym> は"print working directory"の略)。たとえば、<screen>pwd</screen>と<filename class="directory">デスクトップ</filename>ディレクトリで入力すると、 <computeroutput>~/デスクトップ</computeroutput>と表示されます。<placeholder-1/>
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:154(para)
|
|
24.
|
|
|
ls
|
|
|
|
ls
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:176(title)
|
|
25.
|
|
|
The <command>ls</command> command will allow you to see the files in the directory you are in (<acronym>ls</acronym> stands simply for "list"). Used with certain options, you can see sizes of files, when files where made, and permissions of files. For example, typing <screen>ls ~</screen> will show you the files that are in your home directory. Examples:
|
|
|
|
<command>ls</command>コマンドはディレクトリの中のファイルを表示します(<acronym>ls</acronym>は"list"の略)。オプションを使うと、ファイルサイズ、いつ・どこで作られたか、ファイルの権限を表示できます。たとえば、<screen>ls ~</screen> と入力すると、ホームディレクトリにあるファイルを表示します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:174(para)
|
|
26.
|
|
|
To list all the files (including hidden files), type: <screen>ls -a</screen>
|
|
|
|
すべてのファイル(隠しファイルを含む)を表示には、<screen>ls -a</screen>と入力します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:186(para)
|
|
27.
|
|
|
To list information in a long format, type: <screen>ls -l</screen>. This will include information about permissions, owner, and last modification time.
|
|
|
|
ファイルの詳細な情報を表示するには、<screen>ls -l</screen>と入力します。ファイルの権利、所有者、最後に変更した日時も表示します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:192(para)
|
|
28.
|
|
|
To list your root patition, type: <screen>ls /</screen>
|
|
|
|
ルート パーティションを表示するには、<screen>ls /</screen> と入力します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:199(para)
|
|
29.
|
|
|
To list one time per line, type: <screen>ls -1</screen>
|
|
|
|
ファイル名を1行に1つずつ表示するには、 <screen>ls -1</screen> と入力します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:205(para)
|
|
30.
|
|
|
cp
|
|
|
|
cp
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:191(title)
|
|
31.
|
|
|
The <command>cp</command> command will make a copy of a file for you (<acronym>cp</acronym> stands simply for "copy"). For example, type: <screen>cp file foo</screen> to make a exact copy of <filename>file</filename> and name it <filename>foo</filename>, but the file <filename>file</filename> will still be there.
|
|
|
|
<command>cp</command>コマンドはファイルのコピーを作成します(<acronym>cp</acronym>は"copy"の略)。たとえば、<screen>cp file foo</screen>と入力すると、 ファイル <filename>file</filename> のコピーを作成して <filename>foo</filename>という名前をつけます。ファイル <filename>file</filename> に変更はありません。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:214(para)
|
|
32.
|
|
|
mv
|
|
|
|
mv
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:202(title)
|