Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
elearning:workbooks:redhat:rh124en:l103 [2024/11/11 12:46] adminelearning:workbooks:redhat:rh124en:l103 [2024/11/26 10:29] (Version actuelle) admin
Ligne 127: Ligne 127:
  
 <WRAP center round todo 60%> <WRAP center round todo 60%>
-**To do** : Use the **--help** option of the **stty** command to view the command line switches.+**To do** : Use the **--help** option of the **stty** command to view the command line switches (also known as a **parameters**, **options** or **flags**).
 </WRAP> </WRAP>
  
Ligne 176: Ligne 176:
 </code> </code>
  
-The units are shown as **blocks**. In order to **humanize** the output, it is possible to use the **-h** switch (also known as a **parameter**, **option** or **flag**):+The units are shown as **blocks**. In order to **humanize** the output, it is possible to use the **-h** switch:
  
 <code> <code>
Ligne 189: Ligne 189:
 tmpfs                  769M   36K  769M   1% /run/user/1000 tmpfs                  769M   36K  769M   1% /run/user/1000
 </code> </code>
 +
 ===Command Line Switches=== ===Command Line Switches===
  
Ligne 247: Ligne 248:
 root root
 </code> </code>
- 
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Ligne 291: Ligne 291:
 [trainee@redhat9 tmp]$ pwd [trainee@redhat9 tmp]$ pwd
 /tmp /tmp
 +
 [trainee@redhat9 tmp]$  [trainee@redhat9 tmp]$ 
 </code> </code>
Ligne 420: Ligne 421:
 ====1.13 - The cp Command=== ====1.13 - The cp Command===
  
-This command is used to copy a source to a destination or multiple sources to a directory:+This command is used to copy a file to a destination or multiple files to a directory:
  
 <code> <code>
Ligne 459: Ligne 460:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-**Important** - Note that in the case of the first line of the above output, tha command **file** is incapable of informing you of the type of file since **test** is empty.+**Important** - Note that in the case of the first line of the above output, the command **file** is incapable of informing you of the type of file since **test** is empty.
 </WRAP> </WRAP>
  
Ligne 582: Ligne 583:
 ====1.19 - The rm Command==== ====1.19 - The rm Command====
  
-This command removes a directory, empty of not, as well as files:+This command removes a directory, empty or not, as well as files:
  
 <code> <code>
Ligne 2451: Ligne 2452:
 ===7.2 - The unexpand Command=== ===7.2 - The unexpand Command===
  
-The **expand** command converts spaces in a file to tabulations and prints the results to STDOUT. With no file as an argument or with the **-** character as an argument, the command takes it's input from STDIN.+The **unexpand** command converts spaces in a file to tabulations and prints the results to STDOUT. With no file as an argument or with the **-** character as an argument, the command takes it's input from STDIN.
  
-Now use the **expand** command to convert the spaces in the **expand1** file into tabulations and send the result to the **expand2** file:+Now use the **unexpand** command to convert the spaces in the **expand1** file into tabulations and send the result to the **expand2** file:
  
 <code> <code>
Menu