Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
elearning:workbooks:centos:8:utilisateur:l104 [2021/05/27 05:28] – created admin | elearning:workbooks:centos:8:utilisateur:l104 [2024/04/28 15:09] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
- | Version : **2021.01** | + | Version : **2024.01** |
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | ======LCF404 - Commandes de Base et Outils | + | ======LCF404 - Commandes de Base et de Manipulation de Fichiers Texte====== |
=====Contenu du Module===== | =====Contenu du Module===== | ||
- | * **LCF404 - Commandes de Base et Outils | + | * **LCF404 - Commandes de Base et de Manipulation de Fichiers Texte** |
* Contenu du Module | * Contenu du Module | ||
* LAB #1 - 38 Commandes de Base | * LAB #1 - 38 Commandes de Base | ||
Ligne 985: | Ligne 985: | ||
La commande **seq** affiche une séquence de nombres du PREMIER au DERNIER par pas d'un INCREMENT. La commande prend la forme suivante : | La commande **seq** affiche une séquence de nombres du PREMIER au DERNIER par pas d'un INCREMENT. La commande prend la forme suivante : | ||
- | * **seq** [options] | + | * **seq** [options] |
* **seq** [options] PREMIER DERNIER | * **seq** [options] PREMIER DERNIER | ||
* **seq** [options] PREMIER INCREMENT DERNIER | * **seq** [options] PREMIER INCREMENT DERNIER | ||
Ligne 1034: | Ligne 1034: | ||
====1.38 - La Commande screen==== | ====1.38 - La Commande screen==== | ||
+ | |||
+ | Avant de continuer et afin de réparer les fichiers de configuration dans **/ | ||
+ | |||
+ | < | ||
+ | [root@centos8 ~]# sed -i ' | ||
+ | [root@centos8 ~]# sed -i ' | ||
+ | </ | ||
La commande **screen** est un « multiplexeur de terminaux » permettant d' | La commande **screen** est un « multiplexeur de terminaux » permettant d' | ||
Ligne 1605: | Ligne 1612: | ||
< | < | ||
[root@centos8 ~]# fgrep ' | [root@centos8 ~]# fgrep ' | ||
- | ^ voici une ligne pour la recherche | + | ^ This line will be used to demonstrate the use of fgrep |
</ | </ | ||
Ligne 1612: | Ligne 1619: | ||
< | < | ||
[root@centos8 ~]# grep ' | [root@centos8 ~]# grep ' | ||
- | # Commentaire du début | + | # Starting comment |
- | ^ voici une ligne pour la recherche | + | ^ This line will be used to demonstrate the use of fgrep |
fenestrOS | fenestrOS | ||
fenestros | fenestros | ||
- | # Un autre commentaire | + | # Another comment |
555-5555 | 555-5555 | ||
f | f | ||
Ligne 1625: | Ligne 1632: | ||
£ | £ | ||
- | # Commentaire de la fin | + | # End comment |
</ | </ | ||
Ligne 1632: | Ligne 1639: | ||
< | < | ||
[root@centos8 ~]# grep ' | [root@centos8 ~]# grep ' | ||
- | ^ voici une ligne pour la recherche | + | ^ This line will be used to demonstrate the use of fgrep |
</ | </ | ||
Ligne 2710: | Ligne 2717: | ||
< | < | ||
- | [root@centos8 ~]# diff /etc/passwd / | ||
- | 38,39c38 | ||
- | < trainee: | ||
- | < vboxadd: | ||
- | --- | ||
- | > trainee10: | ||
- | 40a40 | ||
- | > Linux est super! | ||
- | |||
[root@centos8 tmp]# diff /etc/passwd / | [root@centos8 tmp]# diff /etc/passwd / | ||
26,27c26 | 26,27c26 | ||
Ligne 2727: | Ligne 2725: | ||
36a36 | 36a36 | ||
> Linux est super! | > Linux est super! | ||
- | |||
</ | </ | ||
Ligne 3455: | Ligne 3452: | ||
< | < | ||
- | [root@centos8 tmp]# ifconfig | + | [root@centos8 tmp]# ifconfig |
- | eth0: flags=4163< | + | ens18: flags=4163< |
inet 10.0.2.45 | inet 10.0.2.45 | ||
- | inet6 fe80::1e99:8b31:2f63:6d9a | + | inet6 fe80::86b6:8d39:cab2:d84d |
- | ether 08:00:27:3e:17:9b | + | ether 4e:b1:31:bd:5d:b2 |
- | RX packets | + | RX packets |
RX errors 0 dropped 0 overruns 0 frame 0 | RX errors 0 dropped 0 overruns 0 frame 0 | ||
- | TX packets | + | TX packets |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
- | [root@centos8 tmp]# ifconfig | + | [root@centos8 tmp]# ifconfig |
inet 10.0.2.45 | inet 10.0.2.45 | ||
- | inet6 fe80::1e99:8b31:2f63:6d9a | + | inet6 fe80::86b6:8d39:cab2:d84d |
- | [root@centos8 tmp]# ifconfig | + | [root@centos8 tmp]# ifconfig |
inet 10.0.2.45 | inet 10.0.2.45 | ||
- | [root@centos8 tmp]# ifconfig | + | [root@centos8 tmp]# ifconfig |
: | : | ||
- | [root@centos8 tmp]# ifconfig | + | [root@centos8 tmp]# ifconfig |
10.0.2.45 | 10.0.2.45 | ||
- | |||
</ | </ | ||
Ligne 3487: | Ligne 3483: | ||
< | < | ||
- | [root@centos8 | + | [root@centos8 |
- | 2: eth0: < | + | 2: ens18: < |
- | link/ | + | link/ |
- | inet 10.0.2.45/ | + | inet 10.0.2.45/ |
- | | + | |
- | inet6 fe80::1629:eb59:3b24:a1e4/64 scope link noprefixroute | + | inet6 fe80::86b6:8d39:cab2:d84d/64 scope link noprefixroute |
| | ||
- | [root@centos8 | + | [root@centos8 |
- | inet 10.0.2.45/ | + | inet 10.0.2.45/ |
- | inet6 fe80::1629:eb59:3b24:a1e4/64 scope link noprefixroute | + | inet6 fe80::86b6:8d39:cab2:d84d/64 scope link noprefixroute |
- | [root@centos8 | + | [root@centos8 |
- | inet 10.0.2.45/ | + | inet 10.0.2.45/ |
- | [root@centos8 | + | [root@centos8 |
10.0.2.45/ | 10.0.2.45/ | ||
- | [root@centos8 | + | [root@centos8 |
10.0.2.45 | 10.0.2.45 | ||
</ | </ | ||
----- | ----- | ||
- | < | + | Copyright © 2024 Hugh Norris. |
- | <div align=" | + | |
- | Copyright © 2021 Hugh Norris. | + | |
- | </ | + |