|
17.
|
|
|
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
自分のホームディレクトリへ移動する: <screen>cd</screen> or <screen>cd ~</screen>
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:110(para)
|
|
18.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
一つ上のディレクトリ(ディレクトリ階層)へ移動する: <screen>cd ..</screen>
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:127(para)
|
|
19.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
一つ前(または後ろ)のディレクトリへ移動する: <screen>cd -</screen>
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:133(para)
|
|
20.
|
|
|
To navigate through multiple levels of directory at once, specify the full directory path that you want to go to. For example, type: <screen>cd /var/www</screen> to go directly to the <filename class="directory">/www</filename> subdirectory of <filename class="directory">/var/</filename>. As another example, type: <screen>cd ~/Desktop</screen> to move you to the <filename class="directory">Desktop</filename> subdirectory inside your home directory.
|
|
|
|
複数にわたるディレクトリ階層を一回の操作で移動するには、移動したいディレクトリのフルパス(full directory path)を指定します。入力例 1: <screen>cd /var/www</screen>(<filename class="directory">/var/</filename>のサブディレクトリ<filename class="directory">/www</filename>へ直接移動する)。 入力例 2: <screen>cd ~/Desktop</screen>(あなたのホームディレクトリにある<filename class="directory">Desktop</filename>サブディレクトリへ移動する)。
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:136(para)
|
|
21.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated and reviewed by
Jun Sumida
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:157(title)
|
|
22.
|
|
|
The <application>Xfce4 Terminal</application> also displays this information in the title bar of its window.
|
|
|
|
<application>Xfce4 端末</application>はウィンドウのタイトル・バーにも情報を表示します。
|
|
Translated and reviewed by
CMasami
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:164(para)
|
|
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)
|