|
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.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
35.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated and reviewed by
jarnkarlinn
|
|
|
|
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 Skelin</application> sýnir líka þessar upplýsingar í titilslá gluggans.
|
|
Translated and reviewed by
Stefán Sigurjónsson
|
|
|
|
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/>
|
|
|
|
Skipunin <command>pwd</command> segir þér í hvaða möppu þú ert á stundinni (skammstöfunin <acronym>pwd</acronym> stendur fyrir <quote>print working directory</quote> sem þýðir „birta þá möppu sem verið er að vinna í“). Ef þú myndir til dæmis skrifa <screen>pwd</screen> þegar þú ert í möppunni <filename class="directory">Desktop</filename> þá mun <computeroutput>/home/notandanafn/Desktop</computeroutput> birtast á skjánum. <placeholder-1/>
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|
|
38.
|
|
|
ls
|
|
|
|
ls
|
|
Translated and reviewed by
jarnkarlinn
|
|
|
|
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.
|
|
|
|
<command>ls</command> skipunin sýnir lista skráa í viðkomandi möppu. Til dæmis sýnir <command>ls ~</command> þér skrár í heimamöppunni þinni.
|
|
Translated and reviewed by
Stefán Sigurjónsson
|
|
|
|
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.
|
|
|
|
Ef þú notar <command>-l</command> stillinguna sýnir <command>ls</command> ýmsar upplýsingar sem fylgja skránum, til dæmis heimildir og eiganda.
|
|
Translated and reviewed by
Stefán Sigurjónsson
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:167(para)
|
|
41.
|
|
|
cp
|
|
|
|
cp
|
|
Translated and reviewed by
jarnkarlinn
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:175(title)
|
|
42.
|
|
|
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.
|
|
|
|
Skipunin <command>cp</command> býr til afrit af skrám. Ef þú skrifar til dæmis: <screen>cp foo bar</screen> þá býr tölvan til afrit af <filename>foo</filename> sem heitir <filename>bar</filename>. Skráin <filename>foo</filename> mun haldast óbreytt.
|
|
Translated and reviewed by
Baldur
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:176(para)
|
|
43.
|
|
|
mv
|
|
|
|
mv
|
|
Translated and reviewed by
jarnkarlinn
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:186(title)
|