|
38.
|
|
|
The <command>rm</command> will remove or delete a file in your directory (<acronym>rm</acronym> stands simply for "remove"). It will not work on directories which have files in them. To remove directories, you can use <command>rm -r</command>. The <emphasis>r</emphasis> stands for <emphasis>recursive</emphasis>. For example: <screen>rm -r foo</screen> will remove the directory named foo and all of its contents.
|
|
|
|
kommandoen <command>rm</command> fjerner eller sletter en fil i mappen. (<acronym>rm</acronym> står for "remove" (fjern)). Kommandoen virker ikke på mapper som inneholder filer. For å fjerne mapper, kan du bruke kommandoen <command>rm -r</command>. <emphasis>r</emphasis> står for <emphasis>recursive</emphasis>. For eksempel: <screen>rm -r foo</screen> fjerner mappen foo og alt den inneholder.
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:263(para)
|
|
39.
|
|
|
Using <command>rm -r</command> will delete a complete directory and everything in it without further questions, so be careful with this command.
|
|
|
|
Når du bruker kommandoen <command>rm -r</command> slettes en mappe og alt den inneholder uten videre bekreftelser, så vær aktsom når du bruker denne kommandoen!
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:273(para)
|
|
40.
|
|
|
mkdir
|
|
|
|
mkdir
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:231(title)
|
|
41.
|
|
|
The <command>mkdir</command> command will allow you to create directories (<acronym>mkdir</acronym> stands simply for "make directory"). For example, typing: <screen>mkdir music</screen> will create a music directory in the current directory.
|
|
|
|
Kommandoen <command>mkdir</command> lar deg opprette mapper (<acronym>mkdir</acronym> står for "make directory" (lag mappe)). Om du for eksempel skriver: <screen>mkdir music</screen> opprettes mappen music i den gjeldende mappen.
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:280(para)
|
|
42.
|
|
|
System Information Commands
|
|
|
|
Systeminformasjon-kommandoer
|
|
Translated by
Mantini
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:242(title)
|
|
43.
|
|
|
df
|
|
|
|
df
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:245(title)
|
|
44.
|
|
|
The <command>df</command> command displays filesystem disk space usage for all partitions (<acronym>df</acronym> stands simply for "disk free"). <screen>df -h</screen> will give information using megabytes (M) and gigabytes (G) instead of blocks (<emphasis role="strong">-h</emphasis> means "human-readable").
|
|
|
|
kommandoen <command>df</command> viser filsystemets plassforbruk på alle partisjoner (<acronym>df</acronym> står ganske enkelt for "disk free" (ledig disk)). <screen>df -h</screen> gir informasjon i form av megabyte (M) og gigabyte (G) i stedet for blokker (<emphasis role="strong">-h</emphasis> betyr "human-readable" (forståelig for folk)).
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:296(para)
|
|
45.
|
|
|
free
|
|
|
|
free
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:256(title)
|
|
46.
|
|
|
The <command>free</command> command displays the amount of free and used memory in the system. <screen>free -m</screen> will give the information using megabytes, which is probably most useful for current computers.
|
|
|
|
Kommandoen <command>free</command> viser hvor mye ledig og brukt minne som finnes på systemet. <screen>free -m</screen> gir informasjon i MegaByte, hvilket er mest nyttig for de fleste datamaskiner.
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:257(para)
|
|
47.
|
|
|
top
|
|
|
|
top
|
|
Translated by
Thomas Øverby
|
|
Reviewed by
Daniel Høyer Iversen
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:267(title)
|