|
15.
|
|
|
The <command>cd</command> command will allow you to change the directory you are in (<acronym>cd</acronym> stands simply for "change directory"). When you open a terminal you will be in your home directory. Examples:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:98(para)
|
|
16.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:104(para)
|
|
17.
|
|
|
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:110(para)
|
|
18.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:127(para)
|
|
19.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
(no translation yet)
|
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:136(para)
|
|
21.
|
|
|
pwd
|
|
|
|
(no translation yet)
|
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
|
|
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/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:154(para)
|
|
24.
|
|
|
ls
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:176(title)
|