|
28.
|
|
|
File and Directory Commands
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:89(title)
|
|
29.
|
|
|
pwd - print working directory
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:91(title)
|
|
30.
|
|
|
<application>Konsole</application> also displays this information in both the tab and title bar of its window.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:99(para)
|
|
31.
|
|
|
The <command>pwd</command> command displays the directory where the user is currently located. (<acronym>pwd</acronym> stands for <quote>print working directory</quote>). For example, typing <screen>pwd</screen> while in the <filename class="directory">Desktop</filename> directory will show <computeroutput>/home/[username]/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:92(para)
|
|
32.
|
|
|
cd - change directory
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:107(title)
|
|
33.
|
|
|
The <command>cd</command> command changes directories. (<acronym>cd</acronym> stands for <quote>change directory</quote>). When a terminal window is opened, it will be in the user's home directory. Moving around the file system requires the use of the <command>cd</command> command.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:108(para)
|
|
34.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:116(para)
|
|
35.
|
|
|
To navigate to the current user's home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:122(para)
|
|
36.
|
|
|
The <command>~</command> character represents the current user's home directory. As shown above, <command>cd ~</command> is equivalent to <command>cd /home/username/</command>. However, when running a command as root (using <command>sudo</command>, for example), <command>~</command> points to <filename class="directory">/root</filename>. When running a <command>cd</command> command with <command>sudo</command>, the full path to the home directory must be given.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:129(para)
|
|
37.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/cli/C/cli.xml:140(para)
|