Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:redhat:rh124en:l103 [2024/11/11 12:46] – admin | elearning: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 |
</ | </ | ||
Ligne 176: | Ligne 176: | ||
</ | </ | ||
- | The units are shown as **blocks**. In order to **humanize** the output, it is possible to use the **-h** switch | + | The units are shown as **blocks**. In order to **humanize** the output, it is possible to use the **-h** switch: |
< | < | ||
Ligne 189: | Ligne 189: | ||
tmpfs 769M | tmpfs 769M | ||
</ | </ | ||
+ | |||
===Command Line Switches=== | ===Command Line Switches=== | ||
Ligne 247: | Ligne 248: | ||
root | root | ||
</ | </ | ||
- | |||
<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]$ | ||
</ | </ | ||
Ligne 420: | Ligne 421: | ||
====1.13 - The cp Command=== | ====1.13 - The cp Command=== | ||
- | This command is used to copy a source | + | This command is used to copy a file to a destination or multiple |
< | < | ||
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, | + | **Important** - Note that in the case of the first line of the above output, |
</ | </ | ||
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: |
< | < | ||
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: |
< | < |