|
31.
|
|
|
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)
|
|
32.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Za premik eno mapo višje, vpišite: <screen>cd ..</screen>
|
|
Translated and reviewed by
Andrej Znidarsic
|
In upstream: |
|
Za premik na eno stopnjo višje, vpišite: <screen>cd ..</screen>
|
|
|
Suggested by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:111(para)
|
|
33.
|
|
|
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)
|
|
34.
|
|
|
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.
|
|
|
|
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.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
35.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated and reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:141(title)
|
|
36.
|
|
|
<application>GNOME Terminal</application> also displays this information in the title bar of its window.
|
|
|
|
<application>GNOME Terminal</application> prikaže te podatke v nazivni vrstici svojega okna.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:151(para)
|
|
37.
|
|
|
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/>
|
|
|
|
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/>
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|
|
38.
|
|
|
ls
|
|
|
|
ls
|
|
Translated by
Klemen Košir
|
|
Reviewed by
Klemen Košir
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:160(title)
|
|
39.
|
|
|
The <command>ls</command> command outputs a list of the files in the current directory. For example, typing <screen>ls ~</screen> will show you the files that are in your home directory.
|
|
|
|
Ukaz <command>ls</command> prikaže seznam datotek v trenutni mapi. Npr., če vpišete <screen>ls ~</screen> boste videli, katere datoteke so v vaši domači mapi.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:161(para)
|
|
40.
|
|
|
Used with the <command>-l</command> options, <command>ls</command> outputs various other information alongside the filename, such as the current permissions on the file, and the file's owner.
|
|
|
|
Z uporabo možnosti <command>-l</command>, <command>ls</command> prikaže poleg imena datotek veliko ostalih podrobnosti kot so dovoljenja in trenutni lastnik datoteke.
|
|
Translated and reviewed by
Andrej Znidarsic
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:167(para)
|