|
29.
|
|
|
The <command>cd</command> command changes directories (<acronym>cd</acronym> stands for <quote>change directory</quote>). When a terminal window is opened, it will be located in the user's home directory. Moving around the file system requires the use of <command>cd</command>.
|
|
|
|
Der <command>cd</command> Befehl wechselt das Verzeichnis (<acronym>cd</acronym> steht für <quote>change directory</quote>). Wenn ein Terminalfenster geöffnet ist, wird es sich im Homeverzeichnis des Benutzers befinden. Um sich im Dateisystem zu bewegen braucht man <command>cd</command>.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
cli/C/cli.xml:106(para)
|
|
30.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
Um in den Wurzelordner (englisch root) zu wechseln, geben Sie <screen>cd /</screen> ein
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:116(para)
|
|
31.
|
|
|
To navigate to the current user's home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
Um in das Heimverzeichnis des aktuellen Benutzers zu gelangen, gibt man <screen>cd</screen> oder <screen>cd ~</screen> ein
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:122(para)
|
|
32.
|
|
|
The <command>~</command> character represents the current user's home directory. As shown 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 to <filename class="directory">/root</filename>. When running a <command>cd</command> command with <command>sudo</command>, the full path to the home directory must be given.
|
|
|
|
Das <command>~</command> Zeichen repräsentiert das Heimverzeichnis des aktuellen Benutzers. Wie oben gezeigt, ist <command>cd ~</command> ein equivalent zu <command>cd /home/benuzername/</command>. Wie dem auch sei, wenn man einen Befehl als root ausführt (mit der Verwendung von <command>sudo</command>, zum Beispiel), zeigt <command>~</command> nach <filename class="directory">/root</filename>. Wenn man den <command>cd</command> Befehl mit <command>sudo</command> aufruft, muss immer der vollständige Pfad zum Heimverzeichnis angegeben werden.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:129(para)
|
|
33.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Um in die nächsthöhere Ordnerebene zu wechseln, geben Sie <screen>cd ..</screen> ein
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:140(para)
|
|
34.
|
|
|
To navigate up two directory levels, type: <screen>cd ../../</screen>
|
|
|
|
Um zwei Verzeichnisebenen nach oben zu navigieren gibt man ein: <screen>cd ../../</screen>
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:146(para)
|
|
35.
|
|
|
To navigate to the previous directory (go back), type: <screen>cd -</screen>
|
|
|
|
Um zum vorherigen Verzeichnis zu wechseln (zurück gehen), gibt man <screen>cd -</screen> ein
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:152(para)
|
|
36.
|
|
|
To navigate through multiple levels of directories at once, specify the full directory path. For example, type: <screen>cd /var/log</screen> to go directly to the <filename class="directory">/log</filename> subdirectory of <filename class="directory">/var/</filename>. For another example, typing: <screen>cd ~/Desktop</screen> moves to the <filename class="directory">Desktop</filename> subdirectory inside the current user's home directory.
|
|
|
|
Um sich auf einmal durch verschiedene Verzeichnisebenen zu bewegen, sollte der gesamte Verzeichnispfad angegeben werden. Zum Beispiel, nutzt man <screen>cd /var/log</screen> um direkt in das <filename class="directory">/log</filename> Unterverzeichnis von <filename class="directory">/var/</filename> zu gelangen. Ein weiteres Beispiel, mit <screen>cd ~/Desktop</screen> gelangt man in das <filename class="directory">Desktop</filename> Unterverzeichnis im Heimverzeichnis des aktuellen Benutzers.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:158(para)
|
|
37.
|
|
|
ls - list files
|
|
|
|
ls - Auflistung von Dateien
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
docs/cli/C/cli.xml:173(title)
|
|
38.
|
|
|
The <command>ls</command> command outputs a list of the files in the current directory (<acronym>ls</acronym> is short for <quote>list</quote>). For example, typing <screen>ls ~</screen> will display the files that are in the current user's home directory.
|
|
|
|
Der <command>ls</command> Befehl gibt eine Liste der Dateien im aktuellen Verzeichnis aus (<acronym>ls</acronym> ist die Kurzform von <quote>list</quote>). Zum Beispiel gibt <screen>ls ~</screen> alle Dateien aus die im Heimverzeichnis des aktuellen Benutzers sind.
|
|
Translated and reviewed by
Daniel Winzen
|
|
|
|
Located in
cli/C/cli.xml:173(para)
|