|
26.
|
|
|
File and Directory Commands
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Fil- og mappekommandoer
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Kjetil Birkeland Moe
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:75(title)
|
|
27.
|
|
|
cd
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
cd
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Morten Mytting Wang
|
|
|
Kongo-Kinshasa
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs" by
Arne Goetje
|
|
|
|
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>.
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Med <command>cd</command>-kommandoen navigerer du mellom mappene. Når du åpner et nytt terminalvindu, vil du befinne deg i brukerens hjemmemappe (Home-mappen). For å navigere rundt i filsystemet, benytter du <command>cd</command- kommandoen.
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Kjetil Birkeland Moe
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:79(para)
|
|
29.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
For å gå til rotmappen, skriv: <screen>cd /</screen>
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Daniel Høyer Iversen
|
|
|
|
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>
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
For å gå til hjemmemappen din, skriv: <screen>cd</screen> eller <screen>cd ~</screen>
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Jon Øyvind Kjellman
|
|
|
For å navigere til din hjemmemappe, skriv: <screen>cd</screen> eller <screen>cd ~</screen>
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs" by
Thomas Øverby
|
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
Skriver du <command>~</command> i terminalvinduet, viser du til den aktuelle brukerens hjemmemappe. Som vist over, betyr <command>cd ~</command> det samme som <command>cd /home/username/</command>. Men hvis du skriver den samme kommandoen som root (eksempelvis skriver <command>sudo</command>), peker <command>~</command> i stedet til <filename class="directory">/root</filename>. Utfører du en kommando med <command>sudo</command>, må du altså angi hele stien til din hjemmemappe.
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
André Savik
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:100(para)
|
|
32.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
For å gå til mappen over, skriv: <screen>cd ..</screen>
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Jon Øyvind Kjellman
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:111(para)
|
|
33.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
For å gå til den forrige mappen (eller tilbake), skriv: <screen>cd -</screen>
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Daniel Høyer Iversen
|
|
|
|
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.
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
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.
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Kjetil Birkeland Moe
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
35.
|
|
|
pwd
|
|
|
|
(no translation yet)
|
|
Suggestions: |
|
|
pwd
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs"
by
Daniel Høyer Iversen
|
|
|
prd
|
|
|
Norwegian Bokmal
basic-commands in Ubuntu Jaunty package "ubuntu-docs" by
Sigurd Gartmann
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:141(title)
|