|
29.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
Да се крећете по матичном (root) директоријуму, упишите: <screen>cd /</screen>
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:88(para)
|
|
30.
|
|
|
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
Да се крећете по Вашем личном директоријуму, упишите: <screen>cd</screen> или <screen>cd ~</screen>
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:94(para)
|
|
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.
|
|
|
|
Знак <command>~</command> представља лични директоријум тренутног корисника. Као што се види горе, <command>cd ~</command> је исто што и <command>cd /home/username/</command>. Међутим, када покрећете команду као администратор (користећи <command>sudo</command>, на пример), <command>~</command> указује уместо <filename class="directory">/root</filename>. Када покрећете команду користећи <command>sudo</command>, пуна путања до Вашег личног директоријума мора бити дата.
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:100(para)
|
|
32.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Да пређете на следећи ниво директоријума, упишите: <screen>cd ..</screen>
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:111(para)
|
|
33.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
Да пређете на претходни директоријум (или назад), упишите: <screen>cd -</screen>
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
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.
|
|
|
|
Да се крећете кроз више нивоа директоријума одједном, наведете пуну путању директоријума на који желите да идете. На пример, упишите: <screen>cd /var/www</screen> да одете директно на <filename class="directory">/www</filename> поддиректоријум <filename class="directory">/var/</filename> директоријума. Као други пример, упишите: <screen>cd ~/Desktop</screen> да пређете на поддиректоријум <filename class="directory">Радне површине</filename> у Вашем личном директоријуму.
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
35.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated and reviewed by
Filip Knežić
|
|
|
|
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>ГНОМЕ Терминал</application> такође приказује ову информацију у траци наслова својих прозора.
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
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/>
|
|
|
|
Команда <command>pwd</command> исписује у ком директоријуму се тренутно налазите (<acronym>pwd</acronym> је скраћеница од <quote>'print working directory' штампај радни директоријум</quote>). На пример, уписивање <screen>pwd</screen> у директоријум <filename class="directory">Радне површине</filename>, ће приказати <computeroutput>/home/username/Desktop</computeroutput>. <placeholder-1/>
|
|
Translated and reviewed by
Мирослав Николић
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|
|
38.
|
|
|
ls
|
|
|
|
ls
|
|
Translated and reviewed by
Filip Knežić
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:160(title)
|