|
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.
|
|
|
|
Para navegar através de múltiplos directórios de uma só vez, especifique o caminho completo do directório para onde deseja ir. Por exemplo, digite: <screen>cd /var/www</screen> para ir para o sub-directório <filename class="directory">/www</filename> do directório <filename class="directory">/var/</filename>. Pode também digitar: <screen>cd ~/Desktop</screen> para ir para o sub-directório <filename class="directory">Desktop</filename> dentro do seu directório pessoal.
|
|
Translated and reviewed by
João Santos
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
33.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated by
cetautomatix
|
|
Reviewed by
António Lima
|
|
|
|
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.
|
|
|
|
O <application>GNOME Terminal</application> também apresenta esta informação na barra de título da janela.
|
|
Translated and reviewed by
António Lima
|
|
|
|
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/>
|
|
|
|
O comando <command>pwd</command> informa qual o directório em que se encontra (<acronym>pwd</acronym> significa <quote>print working directory (imprimir directório actual)</quote>). por exemplo, digitar <screen>pwd</screen> no directório <filename class="directory">Desktop</filename> irá apresentar <computeroutput>/home/username/Desktop</computeroutput>. <placeholder-1/>
|
|
Translated and reviewed by
António Lima
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|
|
36.
|
|
|
ls
|
|
|
|
ls
|
|
Translated by
cetautomatix
|
|
Reviewed by
Mykas0
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:160(title)
|
|
37.
|
|
|
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.
|
|
|
|
O comando <command>ls</command> apresenta uma lista dos ficheiros no ficheiro actual. Por exemplo, digitar <screen>ls ~</screen> irá apresentar os ficheiros que se encontram no seu directório pessoal.
|
|
Translated and reviewed by
António Lima
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:161(para)
|
|
38.
|
|
|
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.
|
|
|
|
Utilizado com as opões <command>-l</command>, <command>ls</command> apresenta outras informações juntamente com o nome de ficheiro, tais como as permissões actuais do ficheiro, e o seu dono.
|
|
Translated and reviewed by
António Lima
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:167(para)
|
|
39.
|
|
|
cp
|
|
|
|
cp
|
|
Translated and reviewed by
Mykas0
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:175(title)
|
|
40.
|
|
|
The <command>cp</command> command makes a copy of a file. For example, type: <screen>cp foo bar</screen> to make an exact copy of <filename>foo</filename> and name it <filename>bar</filename>. <filename>foo</filename> will be unchanged.
|
|
|
|
O comando <command>cp</command> faz uma cópia de um ficheiro. Por exemplo, digite: <screen>cp foo bar</screen> para fazer uma cópia exacta de <filename>foo</filename> e renomear o ficheiro como <filename>bar</filename>. <filename>foo</filename> irá permanecer inalterado.
|
|
Translated and reviewed by
António Lima
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:176(para)
|
|
41.
|
|
|
mv
|
|
|
|
mv
|
|
Translated by
Rui Peixoto
|
|
Reviewed by
Mykas0
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:186(title)
|