|
29.
|
|
|
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.
|
|
|
|
Das Zeichen <command>~</command> bezeichnet den jeweilige persönlichen Ordner des aktuellen Benutzers. Wie oben zu sehen ist, sind die Befehle <command>cd ~</command> und <command>cd /home/benutzername</command> gleichwertig. Wenn Sie aber einen Befehl als Administrator (zum Beispiel mittels <command>sudo</command>) aufrufen, wird <command>~</command> auf <filename class="directory">/root</filename> verweisen. Wenn Sie Befehle über <command>sudo</command> starten, sollten Sie immer den kompletten Pfad zu Ihrem persönlichen Ordner angeben.
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:100(para)
|
|
30.
|
|
|
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
Jochen Skulj
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:111(para)
|
|
31.
|
|
|
To navigate to the previous directory (or back), type: <screen>cd -</screen>
|
|
|
|
Um in den vorherigen Ordner zu wechseln, geben Sie <screen>cd -</screen> ein
|
|
Translated and reviewed by
Jochen Skulj
|
|
|
|
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.
|
|
|
|
Um sich durch mehrere Ordnerebenen auf einmal zu bewegen, geben Sie den kompletten Pfad des Ordners an, in den Sie wechseln möchten. Beispielsweise <screen>cd /var/www</screen> um direkt zum Unterordner <filename class="directory">www</filename> von <filename class="directory">/var/</filename> zu wechseln. Ein weiteres Beispiel ist <screen>cd ~/Desktop</screen>, um direkt zu Ihrem Ordner <filename class="directory">Desktop</filename> zu gelangen.
|
|
Translated and reviewed by
Steffen Eibicht
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:124(para)
|
|
33.
|
|
|
pwd
|
|
|
|
pwd
|
|
Translated by
Jürgen Mülbert
|
|
Reviewed by
Jochen Skulj
|
|
|
|
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> zeigt diese Information auch im Fenstertitel an.
|
|
Translated by
Bernd Wurst
|
|
Reviewed by
Maren Reinecke
|
|
|
|
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/>
|
|
|
|
Der Befehl <command>pwd</command> zeigt Ihnen an, in welchem Ordner Sie sich gerade befinden (<acronym>pwd</acronym> steht für <quote>print working directory</quote>, deutsch <quote>Arbeitsordner anzeigen</quote>). Wenn Sie zum Beispiel <screen>pwd</screen> im Ordner <filename class="directory">Desktop</filename> aufrufen, wird die Ausgabe etwa <computeroutput>/home/username/Desktop</computeroutput> sein. <placeholder-1/>
|
|
Translated and reviewed by
Steffen Eibicht
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:142(para)
|
|
36.
|
|
|
ls
|
|
|
|
ls
|
|
Translated by
Jürgen Mülbert
|
|
Reviewed by
Jochen Skulj
|
|
|
|
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.
|
|
|
|
Der Befehl <command>ls</command> gibt eine Liste der Dateien im aktuellen Ordner aus. Wenn Sie <screen>ls ~</screen> eingeben, erhalten Sie eine Liste der Dateien in Ihrem persönlichen Ordner.
|
|
Translated and reviewed by
Steffen Eibicht
|
|
|
|
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.
|
|
|
|
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)
|