|
25.
|
|
|
Or press <keycombo><keycap>Alt</keycap><keycap>F2</keycap></keycombo> and type <command>gnome-terminal</command>.
|
|
|
|
Або натисніть <keycombo><keycap>Alt</keycap><keycap>F2</keycap></keycombo> та наберіть <command>gnome-terminal</command>.
|
|
Translated by
spEctoRius
|
|
Reviewed by
Павло Славинський
|
|
|
|
26.
|
|
|
File and Directory Commands
|
|
|
|
Команди файлів та директорій
|
|
Translated by
spEctoRius
|
|
Reviewed by
Павло Славинський
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:75(title)
|
|
27.
|
|
|
cd
|
|
|
|
cd
|
|
Translated and reviewed by
Павло Славинський
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:78(title)
|
|
28.
|
|
|
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>.
|
|
|
|
Команда <command>cd</command> змінює теку. Коли ви відкриваєте термінал, ви знаходитеся в домашній теці. Для переміщення файловою системою використовуйте <command>cd</command>.
|
|
Translated and reviewed by
Павло Славинський
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:79(para)
|
|
29.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
Для переходу до кореневої теки наберіть: <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>. Але, якщо ви виконуєте команду як root (використовуючи <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">Desktop</filename> субдиректорії у Вашій домашній директорії.
|
|
Translated by
spEctoRius
|
|
Reviewed by
Павло Славинський
|
Shared: |
|
Для переходу через декілька рівнів тек одразу, вкажіть повний шлях до бажаної теки. Наприклад, наберіть: <screen>cd /var/www</screen> щоб одразу перейти до <filename class="directory">/www</filename> підтеки <filename class="directory">/var/</filename>. Інший приклад, наберіть: <screen>cd ~/Desktop</screen>, щоб перейти до підтеки <filename class="directory">Desktop</filename> у вашій домашній теці.
|
|
|
Suggested by
atany
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|