|
22.
|
|
|
Starting a Terminal
|
|
|
|
Iniciando um Terminal
|
|
Translated by
Alessandro Delgado
|
|
Reviewed by
Andre Noel
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:68(title)
|
|
23.
|
|
|
To open a <application>Terminal</application> choose <menuchoice><guimenu>Applications</guimenu><guimenuitem>Accessories</guimenuitem><guimenuitem>Terminal</guimenuitem></menuchoice>.
|
|
|
|
Para abrir um <application>Terminal</application> escolha <menuchoice><guimenu>Aplicativos</guimenu><guimenuitem>Accessórios</guimenuitem><guimenuitem>Terminal</guimenuitem></menuchoice>.
|
|
Translated by
André Gondim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:69(para)
|
|
24.
|
|
|
File and Directory Commands
|
|
|
|
Comandos de Arquivos e Diretórios
|
|
Translated by
Rafael Sachetto
|
|
Reviewed by
Andre Noel
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:75(title)
|
|
25.
|
|
|
cd
|
|
|
|
cd
|
|
Translated and reviewed by
Andre Noel
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:78(title)
|
|
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>.
|
|
|
|
O comando <command>cd</command> muda a pasta. Quando você abrir um terminal você estará em sua pasta pessoal. Para navegar pelo sistema de arquivos, você usará <command>cd</command>.
|
|
Translated by
Edmilson Maia
|
|
Reviewed by
André Gondim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:79(para)
|
|
27.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
Para navegar para o diretório raiz, digite: <screen>cd /</screen>
|
|
Translated by
Rafael Sachetto
|
|
Reviewed by
Andre Noel
|
|
|
|
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>
|
|
|
|
Para navegar em sua pasta pessoal, digite: <screen>cd</screen> ou <screen>cd ~</screen>
|
|
Translated by
Rafael Sachetto
|
|
Reviewed by
Andre Noel
|
|
|
|
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.
|
|
|
|
O caracter <command>~</command> representa a pasta pessoal do usuário atual. Como visto acima, <command>cd</command> é equivalente a <command>cd /home/nomedousuario/</command>. No entando, ao rodar um comando como root (usando <command>sudo</command>, por exemplo), <command>~</command> aponta para <filename class="directory">/root</filename>. Ao rodar um comando com <command>sudo</command>, o caminho completo para a sua pasta pessoal deve ser dado.
|
|
Translated by
Edmilson Maia
|
|
Reviewed by
André Gondim
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:100(para)
|
|
30.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Para navegar em um diretório acima, digite: <screen>cd ..</screen>
|
|
Translated by
Rafael Sachetto
|
|
Reviewed by
Andre Noel
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:111(para)
|
|
31.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
Para navegar em um diretório anterior (ou voltar) digite: <screen>cd -</screen>
|
|
Translated by
Rafael Sachetto
|
|
Reviewed by
Andre Noel
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:117(para)
|