|
26.
|
|
|
The <command>cd</command> command changes directories. When you open a terminal you will be in your home directory. To move around the file system you will use <command>cd</command>.
|
|
|
|
(no translation yet)
|
In Ubuntu: |
|
Ukaz <command>cd</command> spremeni mape. Ko odprete terminal, boste bili v domači mapi. Za premikanje po datotečnem sistemu datotek uporabite <command>cd</command>.
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:79(para)
|
|
27.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
Za premik v mapo root, vpišite: screen>cd /</screen>
|
|
Translated and reviewed by
Klemen Košir
|
In Ubuntu: |
|
Za premik v korensko mapo, vpišite: screen>cd /</screen>
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:88(para)
|
|
28.
|
|
|
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
(no translation yet)
|
In Ubuntu: |
|
Za premik v svojo domačo mapo, vpišite: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:94(para)
|
|
29.
|
|
|
The <command>~</command> character represents the current user's home directory. As seen 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 instead to <filename class="directory">/root</filename>. When running a command with <command>sudo</command>, the full path to your home directory must be given.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:100(para)
|
|
30.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Za premik na eno stopnjo višje, vpišite: <screen>cd ..</screen>
|
|
Translated and reviewed by
Klemen Košir
|
In Ubuntu: |
|
Za premik eno mapo višje, vpišite: <screen>cd ..</screen>
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:111(para)
|
|
31.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
Za premik v prejšnjo mapo (ali nazaj), vpišite: <screen>cd -</screen>
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:117(para)
|
|
32.
|
|
|
To navigate through multiple levels of directories 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)
|
In Ubuntu: |
|
Za premik med več ravni map na enkrat, določite celo pot mape, v katero želite priti. Npr. vpišite: <screen>cd /var/www</screen> in pojdite neposredno v <filename class="directory">/www</filename> , ki je podmapa <filename class="directory">/var/</filename>. Kot drugi primer, vpišite <screen>cd ~/Namizje</screen> in pojdite v mapo <filename class="directory">Namizje</filename>, ki je podmapa v domači mapi.
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
33.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:141(title)
|
|
34.
|
|
|
<application>GNOME Terminal</application> also displays this information in the title bar of its window.
|
|
|
|
(no translation yet)
|
In Ubuntu: |
|
<application>GNOME Terminal</application> prikaže te podatke v nazivni vrstici svojega okna.
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:151(para)
|
|
35.
|
|
|
The <command>pwd</command> command outputs which directory you are currently located in (<acronym>pwd</acronym> stands for <quote>print working directory</quote>). For example, typing <screen>pwd</screen> in the <filename class="directory">Desktop</filename> directory, will show <computeroutput>/home/username/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
(no translation yet)
|
In Ubuntu: |
|
Ukaz <command>pwd</command> izpiše v kateri mapi ste trenutno (<acronym>pwd</acronym> pomeni <quote>print working directory</quote>). Npr., če vpišete <screen>pwd</screen> v mapo <filename class="directory">Namizje</filename> se bo pokazalo <computeroutput>/home/uporabniškoime/Desktop</computeroutput>. <placeholder-1/>
|
|
|
Suggested by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|