|
31.
|
|
|
File and Directory Commands
|
|
|
|
Commandes relatives aux fichiers et aux dossiers
|
|
Translated and reviewed by
Pierre Slamich
|
|
|
|
Located in
docs/cli/C/cli.xml:89(title)
|
|
32.
|
|
|
pwd - print working directory
|
|
|
|
pwd - afficher le répertoire courant
|
|
Translated and reviewed by
Pierre Slamich
|
|
|
|
Located in
docs/cli/C/cli.xml:92(title)
|
|
33.
|
|
|
<application>Konsole</application> also displays this information in both the tab and title bar of its window.
|
|
|
|
<application>Konsole</application> montre également cette information dans l'onglet et dans la barre de titre de cette fenêtre.
|
|
Translated and reviewed by
Pierre Slamich
|
|
|
|
Located in
docs/cli/C/cli.xml:100(para)
|
|
34.
|
|
|
The <command>pwd</command> command displays the directory where the user is currently located. (<abbrev>pwd</abbrev> stands for <quote>print working directory</quote>). For example, typing <screen>pwd</screen> while in the <filename class="directory">Desktop</filename> directory will show <computeroutput>/home/[username]/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
La commande <command>pwd</command> affiche le répertoire courant de l'utilisateur (<abbrev>pwd</abbrev> signifie <quote>print working directory</quote>). Taper par exemple <screen>pwd</screen> en étant dans le répertoire <filename class="directory">Bureau</filename> montrera <computeroutput>/home/[utilisateur]/Bureau</computeroutput>. <placeholder-1/>
|
|
Translated and reviewed by
Alexandre Franke
|
|
|
|
Located in
docs/cli/C/cli.xml:93(para)
|
|
35.
|
|
|
cd - change directory
|
|
|
|
cd - changer de répertoire
|
|
Translated and reviewed by
Pierre Slamich
|
|
|
|
Located in
docs/cli/C/cli.xml:109(title)
|
|
36.
|
|
|
The <command>cd</command> command changes directories. (<abbrev>CD</abbrev> stands for <quote>change directory</quote>). When a terminal window is opened, it will be in the user's home directory. Moving around the file system requires the use of the <command>cd</command> command.
|
|
|
|
La commande <command>cd</command> change de répertoire (<abbrev>cd</abbrev> signifie <quote>change directory</quote>). Quand une fenêtre de terminal est ouverte, elle est dans le dossier personnel de l'utilisateur. Se déplacer dans le système de fichiers nécessite l'utilisation de la commande <command>cd</command>.
|
|
Translated and reviewed by
Alexandre Franke
|
|
|
|
Located in
docs/cli/C/cli.xml:110(para)
|
|
37.
|
|
|
To navigate into the root directory, type: <screen>cd /</screen>
|
|
|
|
Pour accéder au dossier racine, tapez[nbsp] : <screen>cd /</screen>
|
|
Translated and reviewed by
Pierre Slamich
|
|
|
|
Located in
docs/cli/C/cli.xml:118(para)
|
|
38.
|
|
|
To navigate to the current user's home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
Pour vous rendre dans le dossier personnel de l'utilisateur courant, tapez[nbsp] : <screen>cd</screen> ou <screen>cd ~</screen>
|
|
Translated and reviewed by
Sylvie Gallet
|
|
|
|
Located in
docs/cli/C/cli.xml:123(para)
|
|
39.
|
|
|
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.
|
|
|
|
Le caractère <command>~</command> représente le dossier personnel de l'utilisateur courant. Comme montré ci-dessus, <command>cd ~</command> est équivalent à <command>cd /home/utilisateur/</command>. Cependant, lors de l'utilisation d'une commande en tant que root (à l'aide de <command>sudo</command>, par exemple), <command>~</command> pointe vers <filename class="directory">/root</filename>. Pour exécuter une commande <command>cd</command> avec <command>sudo</command>, il faut donner le chemin complet vers le dossier personnel.
|
|
Translated by
Sylvie Gallet
|
|
Reviewed by
gisele perreault
|
|
|
|
Located in
docs/cli/C/cli.xml:128(para)
|
|
40.
|
|
|
To navigate up one directory level, type: <screen>cd ..</screen>
|
|
|
|
Pour remonter d'un niveau dans l'arborescence des dossiers, tapez[nbsp] : <screen>cd ..</screen>
|
|
Translated and reviewed by
Pierre Slamich
|
|
|
|
Located in
docs/cli/C/cli.xml:139(para)
|