|
31.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
For å gå til den forrige mappen (eller tilbake), skriv: <screen>cd -</screen>
|
|
Translated and reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:117(para)
|
|
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.
|
|
|
|
For å navigere gjennom flere mappenivåer på en gang, skriver du hele stien til mappen du ønsker å gå til. Eksempelvis skriver du: <screen>cd /var/www</screen> for å gå direkte til <filename class="directory">/www</filename>, som er en underkatalog til mappen <filename class="directory">/var/</filename>. Som et annet eksempel skriver du: <screen>cd ~/Desktop</screen> for å gå til <filename class="directory">Desktop</filename>, en underkatalog i din hjemmemappe.
|
|
Translated and reviewed by
Kjetil Birkeland Moe
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
33.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated and reviewed by
Daniel Høyer Iversen
|
|
Suggestions: |
|
|
prd
|
|
|
Norwegian Nynorsk
ubuntu-docs-basic-commands in Ubuntu Lucid package "ubuntu-docs" by
Eskild Hustvedt
|
|
|
|
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.
|
|
|
|
<application>GNOME Terminal</application> viser også denne informasjonen i tittelfeltet øverst i vinduet.
|
|
Translated and reviewed by
Kjetil Birkeland Moe
|
|
|
|
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/>
|
|
|
|
Kommandoen <command>pwd</command> forteller deg hvilken mappe du befinner deg i (<acronym>pwd</acronym> står for <quote>print working directory</quote>). Skriver du for eksempel <screen>pwd</screen> i <filename class="directory">Desktop</filename> mappen, svarer terminalvinduet med: <computeroutput>/home/username/Desktop</computeroutput>. <placeholder-1/>
|
|
Translated and reviewed by
Kjetil Birkeland Moe
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|
|
36.
|
|
|
ls
|
|
|
|
ls
|
|
Translated and reviewed by
Daniel Høyer Iversen
|
|
Suggestions: |
|
|
Lesotho
|
|
|
Norwegian Nynorsk
ubuntu-docs-basic-commands in Ubuntu Lucid package "ubuntu-docs" by
Arne Goetje
|
|
|
|
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.
|
|
|
|
Kommandoen <command>ls</command> skriver ut en oversikt over filer i den gjeldende mappen. Skriver du for eksempel <screen>ls ~</screen> vil du få en oversikt over filene i din hjemmemappe.
|
|
Translated and reviewed by
efikkan
|
|
|
|
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.
|
|
|
|
Brukt sammen med alternativet <command>-l</command>, skriver <command>ls</command> ut tilleggsinformasjon ved siden av filnavnet, blant annet eierskap til filen og tilgangsrettigheter.
|
|
Translated and reviewed by
efikkan
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:167(para)
|
|
39.
|
|
|
cp
|
|
|
|
cp
|
|
Translated and reviewed by
Morten Mytting Wang
|
|
Suggestions: |
|
|
kopp
|
|
|
Norwegian Nynorsk
ubuntu-docs-basic-commands in Ubuntu Lucid package "ubuntu-docs" by
Karl Ove Hufthammer
|
|
|
|
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.
|
|
|
|
Kommandoen <command>cp</command> lager en kopi av en fil. Skriv for eksempel: <screen>cp filnavn1 filnavn2</screen> for å lage en identisk kopi av <filename>filnavn1</filename> og å gi den navnet <filename>filnavn2</filename>. <filename>filnavn1</filename> forblir uendret.
|
|
Translated and reviewed by
Kjetil Birkeland Moe
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:176(para)
|