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:rhel:6:utilisateur:l104 [2022/02/22 18:31] – admin | elearning:workbooks:rhel:6:utilisateur:l104 [2023/05/10 16:21] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | + | Version : **2023.01** | |
- | Version : **2022.01** | + | |
Last updated : ~~LASTMOD~~ | Last updated : ~~LASTMOD~~ | ||
Ligne 2223: | Ligne 2222: | ||
</ | </ | ||
- | ===7.2 - La Commande | + | ===7.2 - The unexpand |
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 **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. | ||
Ligne 2267: | Ligne 2266: | ||
</ | </ | ||
- | ===7.3 - La Commande | + | ===7.3 - The cut Command=== |
The cut command splits each line of a file into columns starting with column 1. Each column contains one character. The command can also be used to split lines into fields where the default seperator is a tablulation. The default seperator can be changed by using the **-d** switch. | The cut command splits each line of a file into columns starting with column 1. Each column contains one character. The command can also be used to split lines into fields where the default seperator is a tablulation. The default seperator can be changed by using the **-d** switch. | ||
Ligne 2401: | Ligne 2400: | ||
<WRAP center round todo 60%> | <WRAP center round todo 60%> | ||
**To do** : Use the **--help** option of the **cut** command to view the command line switches. | **To do** : Use the **--help** option of the **cut** command to view the command line switches. | ||
- | </WRAP | + | </WRAP> |
- | ===7.4 - La Commande | + | ===7.4 - The uniq Command=== |
The following command is used to extract the Primary Group GIDs from the **/ | The following command is used to extract the Primary Group GIDs from the **/ | ||
Ligne 2453: | Ligne 2452: | ||
</ | </ | ||
- | ===7.5 - La Commande | + | ===7.5 - The tr Command=== |
The **tr** command is used to substitute certain characters by other characters. This command **only** accepts data from standard input (hence the pipe): | The **tr** command is used to substitute certain characters by other characters. This command **only** accepts data from standard input (hence the pipe): | ||
Ligne 2503: | Ligne 2502: | ||
</ | </ | ||
- | ===7.6 - La Commande | + | ===7.6 - The paste Command=== |
The **paste** command concatenates lines from n files. For example: | The **paste** command concatenates lines from n files. For example: | ||
Ligne 2553: | Ligne 2552: | ||
</ | </ | ||
- | ===7.7 - La Commande | + | ===7.7 - The split Command=== |
The split command is used to divide a large file into smaller segments. Create an empty 250 MB file as follows: | The split command is used to divide a large file into smaller segments. Create an empty 250 MB file as follows: | ||
Ligne 2596: | Ligne 2595: | ||
</ | </ | ||
- | ===7.8 - La Commande | + | ===7.8 - The diff Command=== |
The diff command compares two fles and indicates what changes need to be made to the first file in order that it be identical to the second file. | The diff command compares two fles and indicates what changes need to be made to the first file in order that it be identical to the second file. | ||
Ligne 2646: | Ligne 2645: | ||
</ | </ | ||
- | ===7.9 - La Commande | + | ===7.9 - The cmp Command=== |
The **cmp** command compares two files character by character. By default, the command stops after finding the first difference: | The **cmp** command compares two files character by character. By default, the command stops after finding the first difference: | ||
Ligne 2694: | Ligne 2693: | ||
</ | </ | ||
- | ===7.10 - La commande | + | ===7.10 - The patch Command=== |
La commande **patch** est utilisée pour appliquer des modifications à un fichier à partir d'un fichier patch qui contient les The **patch** command is used to apply modifications contained within a patch file to an older version of a file so that it becomes the newer version of the file. | La commande **patch** est utilisée pour appliquer des modifications à un fichier à partir d'un fichier patch qui contient les The **patch** command is used to apply modifications contained within a patch file to an older version of a file so that it becomes the newer version of the file. | ||
Ligne 2787: | Ligne 2786: | ||
</ | </ | ||
- | ===7.11 - La commande | + | ===7.11 - The strings |
The **strings** Command is used to extract any printable string in one or more object files or executables. An object fie is an intermediary file used when compiling. | The **strings** Command is used to extract any printable string in one or more object files or executables. An object fie is an intermediary file used when compiling. | ||
Ligne 3407: | Ligne 3406: | ||
----- | ----- | ||
- | Copyright © 2022 Hugh Norris. | + | Copyright © 2023 Hugh Norris. |