|
15.
|
|
|
The <command>cd</command> command will allow you to change the directory you are in (<acronym>cd</acronym> stands simply for "change directory"). When you open a terminal you will be in your home directory. Examples:
|
|
|
|
La commande <command>cd</command> vous permet de changer de dossier (<acronym>cd</acronym> est l'acronyme anglais pour "change directory"). Quand vous ouvrez un terminal, vous vous trouverez dans le répertoire home. Exemples[nbsp] :
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:98(para)
|
|
16.
|
|
|
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
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:104(para)
|
|
17.
|
|
|
To navigate to your home directory, type: <screen>cd</screen> or <screen>cd ~</screen>
|
|
|
|
Pour accéder à votre dossier personnel, tapez[nbsp] : <screen>cd</screen> ou <screen>cd ~</screen>
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:110(para)
|
|
20.
|
|
|
To navigate through multiple levels of directory 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.
|
|
|
|
Pour naviguer à travers plusieurs niveaux de répertoires en un coup, spécifiez le chemin complet auquel vous voulez parvenir. Par exemple, tapez[nbsp] <screen>cd /var/www</screen> pour aller directement au sous-répertoire <filename class="directory">/www</filename> du répertoire <filename class="directory">/var/</filename>. Comme autre exemple, tapez <screen>cd ~/Desktop</screen> pour vous déplacer vers le sous-répertoire <filename class="directory">Desktop</filename> qui se trouve dans votre dossier personnel, et qui correspond à votre bureau.
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:136(para)
|
|
22.
|
|
|
The <application>Xfce4 Terminal</application> also displays this information in the title bar of its window.
|
|
|
|
L'application <application>Xfce4 Terminal</application>affiche également cette information dans la barre titre de la fenêtre.
|
|
Translated by
Stéphane V
|
|
Reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:164(para)
|
|
23.
|
|
|
The <acronym>pwd</acronym> command will allow you to know in which directory you're located (<acronym>pwd</acronym> stands for "print working directory"). For example, typing <screen>pwd</screen> in the <filename class="directory">Desktop</filename> directory, will show <computeroutput>~/Desktop</computeroutput>. <placeholder-1/>
|
|
|
|
La commande <acronym>pwd</acronym> permet de savoir dans quel dossier vous vous trouvez actuellement. (<acronym>pwd</acronym> est l'acronyme anglais de "print working directory"). Par exemple, taper <screen>pwd</screen> dans le dossier <filename class="directory">Desktop</filename> affichera <computeroutput>~/Desktop</computeroutput>. <placeholder-1/>
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:154(para)
|
|
25.
|
|
|
The <command>ls</command> command will allow you to see the files in the directory you are in (<acronym>ls</acronym> stands simply for "list"). Used with certain options, you can see sizes of files, when files where made, and permissions of files. For example, typing <screen>ls ~</screen> will show you the files that are in your home directory. Examples:
|
|
|
|
La commande <command>ls</command> permet d'afficher la liste des fichiers contenus dans le dossier actuel (<acronym>ls</acronym> est l'acronyme anglais pour "list"). Combiné à différentes options, vous pouvez afficher la taille des fichiers, leur date de création et leurs permissions associées. Par exemple, taper <screen>ls ~</screen> affichera les fichiers présents votre répertoire personnel. Exemples[nbsp] :
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:174(para)
|
|
26.
|
|
|
To list all the files (including hidden files), type: <screen>ls -a</screen>
|
|
|
|
Pour afficher tous les fichiers (y compris les fichiers cachés), tapez[nbsp] : <screen>ls -a</screen>
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:186(para)
|
|
27.
|
|
|
To list information in a long format, type: <screen>ls -l</screen>. This will include information about permissions, owner, and last modification time.
|
|
|
|
Pour lister toutes les informations relatives aux fichiers, tapez[nbsp] : <screen>ls -l</screen>. Ceci affiche les informations sur les droits d'accès, le propriétaire et la date de dernière modification.
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:192(para)
|
|
28.
|
|
|
To list your root patition, type: <screen>ls /</screen>
|
|
|
|
Pour lister le contenu de votre partition racine, tapez[nbsp] : <screen>ls /</screen>
|
|
Translated and reviewed by
Bruno
|
|
|
|
Located in
basic-commands/C/basic-commands.xml:199(para)
|