25-07-2021

This commit is contained in:
2021-07-25 13:17:19 +02:00
parent e02b036875
commit 25789f522b
39 changed files with 2593 additions and 121 deletions

View File

@@ -264,6 +264,13 @@ $ sed -n '1p' test.txt
red hat
```
Afficher uniquement la <u>3eme ligne</u>:
```bash
$ sed -n '3p' test.txt
mint
```
Afficher la <u>dernière ligne</u>:
```bash
@@ -312,6 +319,15 @@ mint
raspbian
```
Afficher les <u>lignes 3 à 5</u>:
```bash
$ sed -n '3,5p' test.txt
mint
debian
raspbian
```
#### Supression de caractères: