|
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.
|
|
|
|
Mit der Option <command>-l</command> gibt <command>ls</command> zusätzliche Informationen zu den einzelnen Dateien aus. Dies sind zum Beispiel die Größe, Zugriffsrechte und der Besitzer der Datei.
|
|
Translated and reviewed by
Maren Reinecke
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:167(para)
|
|
39.
|
|
|
cp
|
|
|
|
cp
|
|
Translated by
Jürgen Mülbert
|
|
Reviewed by
Jochen Skulj
|
|
|
|
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.
|
|
|
|
Der Befehl <command>cp</command> erzeugt eine Kopie einer Datei. Beispielsweise kopiert die Eingabe: <screen>cp foo bar</screen> die Datei <filename>foo</filename> in die neue Datei <filename>bar</filename>. Die Datei <filename>foo</filename> wird bei diesem Vorgang nicht verändert.
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:176(para)
|
|
41.
|
|
|
mv
|
|
|
|
mv
|
|
Translated by
Jürgen Mülbert
|
|
Reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:186(title)
|
|
42.
|
|
|
The <command>mv</command> command moves a file to a different location or will rename a file. Examples are as follows: <screen>mv foo bar</screen> will rename the file <filename>foo</filename> to <filename>bar</filename>. <screen>mv foo ~/Desktop</screen> will move the file <filename>foo</filename> to your <filename class="directory">Desktop</filename> directory but will not rename it.
|
|
|
|
Der Befehl <command>mv</command> verschiebt eine Datei zu einem anderen Ort oder ändert den Dateinamen. Zum Beispiel wird durch die Eingabe von <screen>mv foo bar</screen> der Name der Datei <filename>foo</filename> in <filename>bar</filename> geändert. Wird <screen>mv foo ~/Desktop</screen> eingegeben, so wird die Datei <filename>foo</filename> in Ihren <filename class="directory">Desktop</filename>-Ordner verschoben. Der Dateiname ändert sich dabei nicht.
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:187(para)
|
|
43.
|
|
|
rm
|
|
|
|
rm
|
|
Translated by
Jürgen Mülbert
|
|
Reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:200(title)
|
|
44.
|
|
|
<command>rm</command> is used to delete files. <screen>rm foo</screen> deletes the file <filename>foo</filename> from the current directory.
|
|
|
|
Der <command>rm</command> Befehl dient zum Löschen von Dateien. <screen>rm foo</screen> löscht die Datei <filename>foo</filename> aus dem aktuellen Ordner.
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:201(para)
|
|
45.
|
|
|
By default, <command>rm</command> will not remove directories. To remove a directory, you must use the <command>-R</command> option. For example, <screen>rm -R foobar</screen> will remove the directory foobar, <emphasis role="strong">and all of its contents!</emphasis>
|
|
|
|
Der Befehl <command>rm</command> löscht ohne besondere Optionen keine Ordner. Um einen Ordner zu löschen, muss mit dem Befehl die Option <command>-R</command> angegeben werden. Wenn zum Beispiel der Ordner <filename class="directory">foo</filename> gelöscht werden soll, muss der Befehl <screen>rm -R foobar</screen> angegeben werden. <emphasis role="strong">Dieser Befehl löscht das <filename class="directory">foo</filename> und alle darin enthaltenen Dateien.
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:206(para)
|
|
46.
|
|
|
mkdir
|
|
|
|
mkdir
|
|
Translated by
Jürgen Mülbert
|
|
Reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:215(title)
|
|
47.
|
|
|
The <command>mkdir</command> command allows you to create directories. For example, typing: <screen>mkdir music</screen> will create a directory named <filename class="directory">music</filename> in the current directory.
|
|
|
|
Um einen neuen Ordner zu erzeugen, müssen Sie den Befehl <command>mkdir</command> verwenden. Die Eingabe: <screen>mkdir musik</screen> erzeugt einen neuen Ordner mit dem Namen <filename class="directory">musik</filename> in dem aktuellen Ordner.
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:216(para)
|