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:rh124:l103 [2024/09/25 08:08] adminelearning:workbooks:redhat:rh124:l103 [2024/11/11 12:41] (Version actuelle) admin
Ligne 107: Ligne 107:
  
 <code> <code>
-[trainee@centos8 ~]$ stty -a +[root@redhat9 ~]# exit 
-speed 38400 baud; rows 24; columns 80; line = 0; +logout 
-intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; +[trainee@redhat9 ~]$ stty -a 
-eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; +speed 38400 baud; rows 27; columns 105; line = 0; 
-werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;+intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; 
 +start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
 -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
--ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff +-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel 
--iuclc -ixany -imaxbel iutf8+-iutf8
 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt +isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho 
-echoctl echoke -flusho -extproc+-extproc
 </code> </code>
  
Ligne 133: Ligne 134:
  
 <code> <code>
-[trainee@centos8 ~]$ date +[trainee@redhat9 ~]$ date 
-Tue 20 Apr 02:27:55 EDT 2021+Wed Sep 25 02:45:00 PM CEST 2024
 </code> </code>
  
Ligne 148: Ligne 149:
  
 <code> <code>
-[trainee@centos8 ~]$ who +[trainee@redhat9 ~]$ who 
-trainee  pts/0        2021-04-20 02:21 (10.0.2.2)+trainee  pts/0        2024-09-25 12:47 (10.0.2.1)
 </code> </code>
  
Ligne 163: Ligne 164:
  
 <code> <code>
-[trainee@centos8 ~]$ df +[trainee@redhat9 ~]$ df 
-Filesystem     1K-blocks    Used Available Use% Mounted on +Filesystem            1K-blocks    Used Available Use% Mounted on 
-devtmpfs         1897604       0   1897604   0% /dev +devtmpfs                   4096       0      4096   0% /dev 
-tmpfs            1913700       0   1913700   0% /dev/shm +tmpfs                   3934780       0   3934780   0% /dev/shm 
-tmpfs            1913700    8736   1904964   1% /run +tmpfs                   1573912    9244   1564668   1% /run 
-tmpfs            1913700         1913700   0% /sys/fs/cgroup +/dev/mapper/rhel-root  46110724 7023448  39087276  16% / 
-/dev/sda3       15349760 2419808  12929952  16% / +/dev/sda1               1038336  406796    631540  40% /boot 
-/dev/sda1         289285  198275     71554  74% /boot +tmpfs                    786956      52    786904   1% /run/user/42 
-tmpfs             382740          382740   0% /run/user/1000+tmpfs                    786956      36    786920   1% /run/user/1000
 </code> </code>
  
Ligne 177: Ligne 178:
  
 <code> <code>
-[trainee@centos8 ~]$ df -h +[trainee@redhat9 ~]$ df -h 
-Filesystem      Size  Used Avail Use% Mounted on +Filesystem             Size  Used Avail Use% Mounted on 
-devtmpfs        1.9G     0  1.9G   0% /dev +devtmpfs               4.0M     0  4.0M   0% /dev 
-tmpfs           1.9G     0  1.9G   0% /dev/shm +tmpfs                  3.8G     0  3.8G   0% /dev/shm 
-tmpfs           1.9G  8.6M  1.9G   1% /run +tmpfs                  1.6G  9.1M  1.5G   1% /run 
-tmpfs           1.9G      1.9G   0% /sys/fs/cgroup +/dev/mapper/rhel-root   44G  6.7G   38G  16% / 
-/dev/sda3        15G  2.4G   13G  16% / +/dev/sda1             1014M  398M  617M  40% /boot 
-/dev/sda1       283M  194M   70M  74% /boot +tmpfs                  769M   52K  769M   1% /run/user/42 
-tmpfs           374M      374M   0% /run/user/1000+tmpfs                  769M   36K  769M   1% /run/user/1000
 </code> </code>
  
Ligne 199: Ligne 200:
  
 <code> <code>
-[trainee@centos8 ~]$ free +[trainee@redhat9 ~]$ free 
-              total        used        free      shared  buff/cache   available +               total        used        free      shared  buff/cache   available 
-Mem:        3827400      290372     2594252        8736      942776     3281880 +Mem:         7869560      845388     6607588       15324      678020     7024172 
-Swap:       2047996           0     2047996+Swap:        5242876           0     5242876
 </code> </code>
  
Ligne 208: Ligne 209:
  
 <code> <code>
-[trainee@centos8 ~]$ free -h +[trainee@redhat9 ~]$ free -h 
-              total        used        free      shared  buff/cache   available +               total        used        free      shared  buff/cache   available 
-Mem:          3.6Gi       283Mi       2.5Gi       8.0Mi       920Mi       3.1Gi +Mem:           7.5Gi       825Mi       6.3Gi        14Mi       662Mi       6.7Gi 
-Swap:         2.0Gi          0B       2.0Gi+Swap:          5.0Gi          0B       5.0Gi
 </code> </code>
  
Ligne 225: Ligne 226:
  
 <code> <code>
-[trainee@centos8 ~]$ whoami+[trainee@redhat9 ~]$ whoami
 trainee trainee
 </code> </code>
Ligne 232: Ligne 233:
  
 <code> <code>
-[trainee@centos8 ~]$ su -+[trainee@redhat9 ~]$ su -
 Password: fenestros Password: fenestros
 </code> </code>
Ligne 243: Ligne 244:
  
 <code> <code>
-[root@centos8 ~]# whoami+[root@redhat9 ~]# whoami
 root root
 </code> </code>
Ligne 254: Ligne 255:
  
 <code> <code>
-[root@centos8 ~]# exit+[root@redhat9 ~]# exit
 logout logout
-[trainee@centos8 ~]$ +[trainee@redhat9 ~]$
 </code> </code>
  
Ligne 270: Ligne 271:
  
 <code> <code>
-[trainee@centos8 ~]$ pwd+[trainee@redhat9 ~]$ pwd
 /home/trainee /home/trainee
 </code> </code>
Ligne 285: Ligne 286:
  
 <code> <code>
-[trainee@centos8 ~]$ cd /tmp +[trainee@redhat9 ~]$ cd /tmp 
-[trainee@centos8 tmp]$ pwd+ 
 +[trainee@redhat9 tmp]$ pwd
 /tmp /tmp
-[trainee@centos8 tmp]$ +[trainee@redhat9 tmp]$ 
 </code> </code>
  
Ligne 302: Ligne 304:
  
 <code> <code>
-[trainee@centos8 tmp]$ ls +[trainee@redhat9 tmp]$ ls 
-systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii+dbus-G7skg3Wlpv 
 +dbus-s2vBGtxTHi 
 +inode 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN
 </code> </code>
  
Ligne 317: Ligne 330:
  
 <code> <code>
-[trainee@centos8 tmp]$ su -+[trainee@redhat9 tmp]$ su -
 Password: fenestros Password: fenestros
-[root@centos8 ~]# lsof | more + 
-COMMAND     PID   TID TASKCMD             USER   FD      TYPE             DEVICE +[root@redhat9 ~]# lsof | more 
- SIZE/OFF       NODE NAME +COMMAND    PID  TID TASKCMD             USER   FD      TYPE             DEVICE  SIZE/OFF       NODE NAME 
-systemd                                 root  cwd       DIR                8,+systemd                               root  cwd       DIR              253,0       235        128 / 
-      224        128 / +systemd                               root  rtd       DIR              253,0       235        128 / 
-systemd                                 root  rtd       DIR                8,+systemd                               root  txt       REG              253,0     98224     701526 /usr/ 
-      224        128 / +lib/systemd/systemd 
-systemd                                 root  txt       REG                8,+systemd                               root  mem       REG              253,0    598592   68842572 /etc/ 
-  1609248    8811152 /usr/lib/systemd/systemd +selinux/targeted/contexts/files/file_contexts.bin 
-systemd                                 root  mem       REG                8,3 +systemd      1                          root  mem       REG              253,0    914360   67157969 /usr/ 
-  2191808     126296 /usr/lib64/libm-2.28.so +lib64/libm.so.6 
-systemd                                 root  mem       REG                8,+systemd                               root  mem       REG              253,0    882376   67158330 /usr/ 
-   628744     126019 /usr/lib64/libudev.so.1.6.11 +lib64/libzstd.so.1.5.1 
-systemd                                 root  mem       REG                8,3 +systemd                               root  mem       REG              253,0   4487176   67224852 /usr/ 
-   969832     151279 /usr/lib64/libsepol.so.1 +lib64/libcrypto.so.3.0.7 
-systemd                                 root  mem       REG                8,3 +systemd      1                          root  mem       REG              253,0   1714208   68560752 /usr/ 
-  1805368     179753 /usr/lib64/libunistring.so.2.1.0 +lib64/libp11-kit.so.0.3.1 
-systemd                                 root  mem       REG                8,+systemd                               root  mem       REG              253,0   2592552   67918617 /usr/ 
-   303944     131440 /usr/lib64/libpcap.so.1.9.1 +lib64/libc.so.6 
-systemd                                 root  mem       REG                8,+systemd      1                          root  mem       REG              253,0    636848   67918540 /usr/ 
-   145984     163438 /usr/lib64/libgpg-error.so.0.24.2 +lib64/libpcre2-8.so.0.11.0 
-systemd                                 root  mem       REG                8,+systemd                               root  mem       REG              253,  1288512   68560763 /usr/ 
-    71528     194381 /usr/lib64/libjson-c.so.4.0.0 +lib64/libgcrypt.so.20.4.0 
-systemd                                 root  mem       REG                8,3+systemd                               root  mem       REG              253,0   3785712   67956161 /usr/ 
 +lib64/systemd/libsystemd-shared-252.so 
 +systemd                               root  mem       REG              253,    44784   68560751 /usr/ 
 +lib64/libffi.so.8.1.0 
 +systemd                               root  mem       REG              253,0    153600   67188275 /usr/
 --More-- --More--
 +[q]
 </code> </code>
  
Ligne 357: Ligne 375:
  
 <code> <code>
-[root@centos8 ~]# exit+[root@redhat9 ~]# exit
 logout logout
-[trainee@centos8 tmp]$ touch test + 
-[trainee@centos8 tmp]$ ls +[trainee@redhat9 tmp]$ touch test 
-systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii  test+ 
 +[trainee@redhat9 tmp]$ ls 
 +dbus-G7skg3Wlpv 
 +dbus-s2vBGtxTHi 
 +inode 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
 +systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN 
 +test
 </code> </code>
  
Ligne 375: Ligne 407:
  
 <code> <code>
-[trainee@centos8 tmp]$ echo fenestros+[trainee@redhat9 tmp]$ echo fenestros
 fenestros fenestros
 </code> </code>
Ligne 390: Ligne 422:
  
 <code> <code>
-[trainee@centos8 tmp]$ cp test ~ +[trainee@redhat9 tmp]$ cp test ~ 
-[trainee@centos8 tmp]$ ls -l ~ + 
-total 0 +[trainee@redhat9 tmp]$ ls -l ~ 
--rw-rw-r--. 1 trainee trainee 0 Apr 20 03:36 test+total 4 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Desktop 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Documents 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Downloads 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Music 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Pictures 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Public 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Templates 
 +-rw-r--r--. 1 trainee trainee   Sep 25 14:59 test 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Videos 
 +-rw-r--r--. 1 trainee trainee 442 Sep 25 14:24 vitext
 </code> </code>
  
Ligne 411: Ligne 453:
  
 <code> <code>
-[trainee@centos8 tmp]$ file ~/test+[trainee@redhat9 tmp]$ file ~/test
 /home/trainee/test: empty /home/trainee/test: empty
 </code> </code>
Ligne 422: Ligne 464:
  
 <code> <code>
-[trainee@centos8 tmp]$ echo "fenestros" > ~/test+[trainee@redhat9 tmp]$ echo "fenestros" > ~/test
 </code> </code>
  
Ligne 428: Ligne 470:
  
 <code> <code>
-[trainee@centos8 tmp]$ file ~/test+[trainee@redhat9 tmp]$ file ~/test
 /home/trainee/test: ASCII text /home/trainee/test: ASCII text
 </code> </code>
Ligne 443: Ligne 485:
  
 <code> <code>
-[trainee@centos8 tmp]$ cat ~/test+[trainee@redhat9 tmp]$ cat ~/test
 fenestros fenestros
 </code> </code>
Ligne 460: Ligne 502:
  
 <code> <code>
-[trainee@centos8 tmp]$ mv ~/test . +[trainee@redhat9 tmp]$ mv ~/test . 
-[trainee@centos8 tmp]$ ls -l ~ + 
-total 0 +[trainee@redhat9 tmp]$ ls -l ~ 
-[trainee@centos8 tmp]$ mv test TeSt +total 
-[trainee@centos8 tmp]$ ls -l+drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Desktop 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Documents 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Downloads 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Music 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Pictures 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Public 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Templates 
 +drwxr-xr-x. 2 trainee trainee   6 Oct 19  2023 Videos 
 +-rw-r--r--. 1 trainee trainee 442 Sep 25 14:24 vitext 
 + 
 +[trainee@redhat9 tmp]$ mv test TeSt 
 + 
 +[trainee@redhat9 tmp]$ ls -l
 total 4 total 4
-drwx------. 3 root    root    17 Apr 19 12:05 systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii +srwxrwxrwx. 1 gdm     gdm      0 Sep 25 12:30 dbus-G7skg3Wlpv 
--rw-rw-r--. 1 trainee trainee 10 Apr 20 03:38 TeSt+srwxrwxrwx. 1 gdm     gdm      0 Sep 25 12:45 dbus-s2vBGtxTHi 
 +drwxr-xr-x. 2 root    root    54 Sep 25 13:10 inode 
 +drwx------. 3 root    root    17 Sep 25 12:45 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
 +drwx------. 3 root    root    17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN 
 +-rw-r--r--. 1 trainee trainee 10 Sep 25 15:01 TeSt
 </code> </code>
  
Ligne 485: Ligne 550:
  
 <code> <code>
-[trainee@centos8 tmp]$ cd ~ +[trainee@redhat9 tmp]$ cd ~ 
-[trainee@centos8 ~]$ mkdir testdir + 
-[trainee@centos8 ~]$ ls +[trainee@redhat9 ~]$ mkdir testdir 
-testdir+ 
 +[trainee@redhat9 ~]$ ls 
 +Desktop  Documents  Downloads  Music  Pictures  Public  Templates  testdir  Videos  vitext
 </code> </code>
  
Ligne 502: Ligne 569:
  
 <code> <code>
-[trainee@centos8 ~]$ rmdir testdir +[trainee@redhat9 ~]$ rmdir testdir 
-[trainee@centos8 ~]$ ls + 
-[trainee@centos8 ~]$ +[trainee@redhat9 ~]$ ls 
 +Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  vitext
 </code> </code>
  
Ligne 518: Ligne 586:
  
 <code> <code>
-[trainee@centos8 ~]$ mkdir testdir1 +[trainee@redhat9 ~]$ mkdir testdir1 
-[trainee@centos8 ~]$ cd /tmp + 
-[trainee@centos8 tmp]$ echo "fenestros" > TeSt +[trainee@redhat9 ~]$ cd /tmp 
-[trainee@centos8 tmp]$ cd ~ + 
-[trainee@centos8 ~]$ mv /tmp/TeSt ~/testdir1 +[trainee@redhat9 tmp]$ echo "fenestros" > TeSt 
-[trainee@centos8 ~]$ ls -lR testdir1/+ 
 +[trainee@redhat9 tmp]$ cd ~ 
 + 
 +[trainee@redhat9 ~]$ mv /tmp/TeSt ~/testdir1 
 + 
 +[trainee@redhat9 ~]$ ls -lR testdir1/
 testdir1/: testdir1/:
 total 4 total 4
--rw-rw-r--. 1 trainee trainee 10 Apr 20 03:44 TeSt +-rw-r--r--. 1 trainee trainee 10 Sep 25 15:08 TeSt 
-[trainee@centos8 ~]$ rmdir testdir1/+ 
 +[trainee@redhat9 ~]$ rmdir testdir1/
 rmdir: failed to remove 'testdir1/': Directory not empty rmdir: failed to remove 'testdir1/': Directory not empty
-[trainee@centos8 ~]$ rm -rf testdir1/ + 
-[trainee@centos8 ~]$ ls +[trainee@redhat9 ~]$ rm -rf testdir1 
-[trainee@centos8 ~]$ + 
 +[trainee@redhat9 ~]$ ls 
 +Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  vitext
 </code> </code>
  
Ligne 545: Ligne 621:
  
 <code> <code>
-[trainee@centos8 ~]$ touch aac abc bca xyz +[trainee@redhat9 ~]$ touch aac abc bca xyz 
-[trainee@centos8 ~]$ ls + 
-aac  abc  bca  xyz +[trainee@redhat9 ~]$ ls 
-[trainee@centos8 ~]$ ls | sort+ 
 +aac  abc  bca  Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  vitext  xyz 
 + 
 +[trainee@redhat9 ~]$ ls | sort
 aac aac
 abc abc
 bca bca
 +Desktop
 +Documents
 +Downloads
 +Music
 +Pictures
 +Public
 +Templates
 +Videos
 +vitext
 xyz xyz
-[trainee@centos8 ~]$ ls | sort -r+ 
 +[trainee@redhat9 ~]$ ls | sort -r
 xyz xyz
 +vitext
 +Videos
 +Templates
 +Public
 +Pictures
 +Music
 +Downloads
 +Documents
 +Desktop
 bca bca
 abc abc
Ligne 575: Ligne 673:
  
 <code> <code>
-[trainee@centos8 ~]$ more /etc/services+[trainee@redhat9 ~]$ more /etc/services
 # /etc/services: # /etc/services:
 # $Id: services,v 1.49 2017/08/18 12:43:23 ovasik Exp $ # $Id: services,v 1.49 2017/08/18 12:43:23 ovasik Exp $
Ligne 599: Ligne 697:
  
 tcpmux          1/tcp                           # TCP port service multiplexer tcpmux          1/tcp                           # TCP port service multiplexer
 +tcpmux          1/udp                           # TCP port service multiplexer
 +rje             5/tcp                           # Remote Job Entry
 +rje             5/udp                           # Remote Job Entry
 --More--(0%) --More--(0%)
 +[q]
 </code> </code>
  
Ligne 617: Ligne 719:
  
 <code> <code>
-[trainee@centos8 ~]$ less /etc/services+[trainee@redhat9 ~]$ less /etc/services
 # /etc/services: # /etc/services:
 # $Id: services,v 1.49 2017/08/18 12:43:23 ovasik Exp $ # $Id: services,v 1.49 2017/08/18 12:43:23 ovasik Exp $
Ligne 641: Ligne 743:
  
 tcpmux          1/tcp                           # TCP port service multiplexer tcpmux          1/tcp                           # TCP port service multiplexer
 +tcpmux          1/udp                           # TCP port service multiplexer
 +rje             5/tcp                           # Remote Job Entry
 +rje             5/udp                           # Remote Job Entry
 /etc/services /etc/services
 +[q]
 </code> </code>
  
Ligne 655: Ligne 761:
  
 <code> <code>
-[trainee@centos8 ~]$ find acc+[trainee@redhat9 ~]$ find acc
 find: ‘acc’: No such file or directory find: ‘acc’: No such file or directory
-[trainee@centos8 ~]$ find aac+ 
 +[trainee@redhat9 ~]$ find aac
 aac aac
 </code> </code>
Ligne 676: Ligne 783:
  
 <code> <code>
-[trainee@centos8 ~]$ su -+[trainee@redhat9 ~]$ su -
 Password: fenestros Password: fenestros
-[root@centos8 ~]# + 
 +[root@redhat9 ~]#  
 </code> </code>
  
Ligne 698: Ligne 806:
  
 <code> <code>
-[root@centos8 ~]# cat /etc/updatedb.conf+[root@redhat9 ~]# cat /etc/updatedb.conf
 PRUNE_BIND_MOUNTS = "yes" PRUNE_BIND_MOUNTS = "yes"
 PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 gpfs hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs udf usbfs ceph fuse.ceph" PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 gpfs hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs udf usbfs ceph fuse.ceph"
 PRUNENAMES = ".git .hg .svn .bzr .arch-ids {arch} CVS" PRUNENAMES = ".git .hg .svn .bzr .arch-ids {arch} CVS"
-PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache/ccache /var/lib/yum/yumdb /var/lib/dnf/yumdb /var/spool/cups /var/spool/squid /var/tmp /var/lib/ceph"+PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache/ccache /var/lib/yum/yumdb /var/lib/dnf/yumdb /var/spool/cups /var/spool/squid /var/tmp /var/lib/ceph /var/lib/mock /sysroot/ostree/deploy"
 </code> </code>
  
Ligne 708: Ligne 816:
  
 <code> <code>
-[root@centos8 ~]# updatedb +[root@redhat9 ~]# updatedb 
-[root@centos8 ~]# locate aac+ 
 +[root@redhat9 ~]# locate aac
 /home/trainee/aac /home/trainee/aac
-/usr/lib/.build-id/10/3879896070484de2e0eaac453ec43579fbb8e2 +/usr/lib/.build-id/06/c3a6d0cdc5a9b909aac3230f36c0cdc531df73 
-/usr/lib/.build-id/22/e20bcaaca5ed745d4f5f319ce3cc15e0db8d56 +/usr/lib/.build-id/09/896cf90eb4029fa90aacc745e15c2e4057f507 
-/usr/lib/.build-id/32/ec211a3c0121b5439deba3d4d1fb4e9bf97aac +/usr/lib/.build-id/14/801c515faacd31994cac96626b4fc6431c98e3 
-/usr/lib/.build-id/45/bdf33b3fef84664d179d00e997daac1648973b +/usr/lib/.build-id/16/6676d6a86bf3cafaac1899f6388fdb8e337b7c 
-/usr/lib/.build-id/4c/5a4eaaca9035bbc2fbf200bd71eda505b568f2 +/usr/lib/.build-id/23/6fb54a26ac01da011289125dd0757134b23aac 
-/usr/lib/.build-id/55/2e764cb2c3aaacaeec1027b10ce22fb78a5896 +/usr/lib/.build-id/32/2f4ede33bea5be64a2d1d74437fed6aac08dff 
-/usr/lib/.build-id/55/769aac2caf22de496d9a08e5438d600ff92d6f +/usr/lib/.build-id/3c/231a016543a94a4ad2fad826bc3aacfe653af3 
-/usr/lib/.build-id/55/e2c36fd33cb232e58642c962aac3eeac1168be +/usr/lib/.build-id/3d/104aacf884f203e4a4756eab74e265a10f6649 
-/usr/lib/.build-id/65/33988a76dd4aac6840cc9d04ae13ac39869b13 +/usr/lib/.build-id/44/a9047149e3968faa7a0066bbbaac1d728b69e8 
-/usr/lib/.build-id/79/dc2cf8dc9bd9617d5e897faac79f7458856f19 +/usr/lib/.build-id/4a/9684161daa9e62b9bc5b600aacd967c50e57c4 
-/usr/lib/.build-id/7e/ec6d530511aac280c13786861e4ec2c04321d9 +/usr/lib/.build-id/4e/09a851a069264c701ac18fd1aac4bd656e14fa 
-/usr/lib/.build-id/8a/f8d384f0b01b7bd13a3aac719f738051e20351 +/usr/lib/.build-id/53/f01644d1fd5ae63b97390282aacf54b0b7d7ce 
-/usr/lib/.build-id/8f/0de63d065be5aac7c552cce9412c25e0fa1e3a +/usr/lib/.build-id/67/3819a49f31f8bbfb5f7eb89a377094fa84eaac 
-/usr/lib/.build-id/93/8ee8bf115b7e98e9b83a68d8a679cd4a7b0aac +/usr/lib/.build-id/68/aa242c520331aacf4985d2a098c5da6614237f 
-/usr/lib/.build-id/9a/635a7bcba89b0280c2198ea30d02faaacaac48 +/usr/lib/.build-id/7e/eaac475f440b615e0355e10c2c484e129f1474 
-/usr/lib/.build-id/ac/8c79a966aacb69715f0fb388949dfc48ae88c8 +/usr/lib/.build-id/82/594874aaccba13283a7bfb590a8c2e920ed42a 
-/usr/lib/.build-id/b0/14a927cc892e6c5a8faaca7396a5a1c544f599 +/usr/lib/.build-id/86/e4d1ddaebefae1e0f496ac74ca91064aac13d6 
-/usr/lib/.build-id/b2/cee7e58576f3167aacb613906c9790c5bcd266 +/usr/lib/.build-id/95/430b0d5c622cb1b4691ec85232b7aac072fcb4 
-/usr/lib/.build-id/ea/6926b2fcdbc231b6aa7511c568de704aac79b6 +/usr/lib/.build-id/98/39921f8f8e36cdaaac8a434953e4c54ca7dd93 
-/usr/lib/.build-id/f1/b2efd3d36aecaac279b4a77d00657356b2585f +/usr/lib/.build-id/9f/7ae04ba24806351a2963e65f1dfaace1f0394b 
-/usr/lib/.build-id/fc/7d382132889a539aac9cd499f1a2b56855bd95 +/usr/lib/.build-id/b0/61a09a1e360c89eaac146ce8055ca8d45676fc 
-/usr/lib/modules/4.18.0-147.8.1.el8_1.x86_64/kernel/drivers/scsi/aacraid +/usr/lib/.build-id/bf/bf2df2e242f211ebd37ccccbdaaac6bf591bff 
-/usr/lib/modules/4.18.0-147.8.1.el8_1.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz +/usr/lib/.build-id/c6/d48de21818e9eaac2ceb6273840b600a7eac7d 
-/usr/lib/modules/4.18.0-240.22.1.el8_3.x86_64/kernel/drivers/scsi/aacraid +/usr/lib/.build-id/c9/8ae396ecaacf790ba4bb73ea16f909ef212163 
-/usr/lib/modules/4.18.0-240.22.1.el8_3.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz+/usr/lib/.build-id/c9/aac0292a12c0bb393cc5457502a0338f1fb554 
 +/usr/lib/.build-id/cc/b6a8165e506f7aacc1e633dba76719e2192fee 
 +/usr/lib/.build-id/d2/d307f71de28588b58faacd57147c666fbd38b0 
 +/usr/lib/.build-id/d6/a427d13f7f07f818ddc87d705d0747eaaac2ba 
 +/usr/lib/.build-id/e3/8b781faac831c3d302cc7f83ee9c4f1ab85117 
 +/usr/lib/.build-id/ea/ac093f74b0ec2597caac77f848ccf3fad2b6f5 
 +/usr/lib/.build-id/ef/80915badd5754301e394c245c9c8e5dffaac40 
 +/usr/lib/.build-id/f2/267eb994604adc5efff9aac163613ffeaeb77e 
 +/usr/lib/.build-id/f7/9a1addf23c6242b55cfaac4cc39a97d7ed1151 
 +/usr/lib/.build-id/f9/79b85f31aacc55596565106c25f182f55891a7 
 +/usr/lib/.build-id/f9/d198993d87e621b9db59273caace4344254b73 
 +/usr/lib/.build-id/fa/d302f61d5aacdead41db2d128dd0a52eb2b411 
 +/usr/lib/fontconfig/cache/d63f98f14a274bd69a5425fc33aaac6b-le64.cache-8 
 +/usr/lib/modules/5.14.0-284.11.1.el9_2.x86_64/kernel/drivers/scsi/aacraid 
 +/usr/lib/modules/5.14.0-284.11.1.el9_2.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz 
 +/usr/lib/modules/5.14.0-427.37.1.el9_4.x86_64/kernel/drivers/scsi/aacraid 
 +/usr/lib/modules/5.14.0-427.37.1.el9_4.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko.xz 
 +/usr/lib64/libfdk-aac.so.2 
 +/usr/lib64/libfdk-aac.so.2.0.0 
 +/usr/lib64/gstreamer-1.0/libgstfdkaac.so 
 +/usr/lib64/spa-0.2/bluez5/libspa-codec-bluez5-aac.so 
 +/usr/share/doc/fdk-aac-free 
 +/usr/share/doc/fdk-aac-free/ChangeLog 
 +/usr/share/doc/fdk-aac-free/README.fedora 
 +/usr/share/licenses/fdk-aac-free 
 +/usr/share/licenses/fdk-aac-free/NOTICE
 /usr/share/mime/audio/aac.xml /usr/share/mime/audio/aac.xml
 </code> </code>
Ligne 742: Ligne 876:
  
 <code> <code>
-[root@centos8 ~]# ls -l /var/lib/mlocate/mlocate.db +[root@redhat9 ~]# ls -l /var/lib/mlocate/mlocate.db 
--rw-r-----. 1 root slocate 1652822 Apr 20 03:52 /var/lib/mlocate/mlocate.db+-rw-r-----. 1 root slocate 3436535 Sep 25 15:21 /var/lib/mlocate/mlocate.db
 </code> </code>
  
Ligne 761: Ligne 895:
  
 <code> <code>
-[root@centos8 ~]# whereis passwd +[root@redhat9 ~]# whereis passwd 
-passwd: /usr/bin/passwd /etc/passwd /usr/share/man/man1/passwd.1.gz /usr/share/man/man5/passwd.5.gz+passwd: /usr/bin/passwd /etc/passwd /usr/share/man/man5/passwd.5.gz /usr/share/man/man1/passwd.1ossl.gz /usr/share/man/man1/passwd.1.gz
 </code> </code>
  
Ligne 776: Ligne 910:
  
 <code> <code>
-[root@centos8 ~]# which passwd+[root@redhat9 ~]# which passwd
 /usr/bin/passwd /usr/bin/passwd
 </code> </code>
Ligne 791: Ligne 925:
  
 <code> <code>
-[root@centos8 ~]# uptime +[root@redhat9 ~]# uptime 
- 03:55:13 up 15:50,  1 user,  load average: 0.01, 0.00, 0.00+ 15:27:33 up  2:42,  1 user,  load average: 0.00, 0.00, 0.00
 </code> </code>
  
Ligne 806: Ligne 940:
  
 <code> <code>
-[root@centos8 ~]# w +[root@redhat9 ~]# w 
- 03:55:16 up 15:50,  1 user,  load average: 0.01, 0.00, 0.00 + 15:28:01 up  2:43,  1 user,  load average: 0.00, 0.00, 0.00 
-USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT +USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT 
-trainee  pts/0    10.0.2.2         02:21    4.00s  0.16s  0.01s sshd: trainee [priv]+trainee  pts/0     12:47    1.00s  0.13s  0.02s sshd: trainee [priv]
 </code> </code>
  
Ligne 827: Ligne 961:
  
 <code> <code>
-[root@centos8 ~]# uname -a +[root@redhat9 ~]# uname -a 
-Linux centos8.ittraining.loc 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux +Linux redhat9.ittraining.loc 5.14.0-427.37.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 13 12:41:50 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux 
-[root@centos8 ~]# uname -s+ 
 +[root@redhat9 ~]# uname -s
 Linux Linux
-[root@centos8 ~]# uname -n + 
-centos8.ittraining.loc +[root@redhat9 ~]# uname -n 
-[root@centos8 ~]# uname -r +redhat9.ittraining.loc 
-4.18.0-240.22.1.el8_3.x86_64 + 
-[root@centos8 ~]# uname -v +[root@redhat9 ~]# uname -r 
-#1 SMP Thu Apr 8 19:01:30 UTC 2021 +5.14.0-427.37.1.el9_4.x86_64 
-[root@centos8 ~]# uname -m+ 
 +[root@redhat9 ~]# uname -v 
 +#1 SMP PREEMPT_DYNAMIC Fri Sep 13 12:41:50 EDT 2024 
 + 
 +[root@redhat9 ~]# uname -m
 x86_64 x86_64
-[root@centos8 ~]# uname -p+ 
 +[root@redhat9 ~]# uname -p
 x86_64 x86_64
-[root@centos8 ~]# uname -i+ 
 +[root@redhat9 ~]# uname -i
 x86_64 x86_64
-[root@centos8 ~]# uname -o+ 
 +[root@redhat9 ~]# uname -o
 GNU/Linux GNU/Linux
 </code> </code>
Ligne 858: Ligne 1000:
  
 <code> <code>
-[root@centos8 ~]# du -sh /* 2>/dev/null +[root@redhat9 ~]# du -sh /* 2>/dev/null 
-0 /bin +      /afs 
-192M /boot +0       /bin 
-0 /dev +358M    /boot 
-23M /etc +      /dev 
-16K /home +29M     /etc 
-0 /lib +4.4M    /home 
-0 /lib64 +      /lib 
-0 /media +      /lib64 
-0 /mnt +      /media 
-0 /opt +      /mnt 
-0 /proc +      /opt 
-32K /root +      /proc 
-8.6M /run +2.0G    /root 
-0 /sbin +9.2M    /run 
-0 /srv +      /sbin 
-0 /sys +      /srv 
-0 /tmp +      /sys 
-1.9G /usr +12K     /tmp 
-211M /var+4.0G    /usr 
 +368M    /var
 </code> </code>
  
Ligne 895: Ligne 1038:
  
 <code> <code>
-[root@centos8 ~]# clear+[root@redhat9 ~]# clear
  
-[root@centos8 ~]# +[root@redhat9 ~]# 
 </code> </code>
  
Ligne 905: Ligne 1048:
  
 <code> <code>
-[root@centos8 ~]# exit+[root@redhat9 ~]# exit
 logout logout
-[trainee@centos8 ~]$  +[trainee@redhat9 ~]$  
 </code> </code>
  
Ligne 931: Ligne 1074:
  
 <code> <code>
-[trainee@centos8 ~]$ sleep 10+[trainee@redhat9 ~]$ sleep 10
  
 </code> </code>
Ligne 944: Ligne 1087:
  
 La commande **wall**  envoie  un  message  à  tous  les  utilisateurs  connectés dont l’autorisation mesg(1) est positionnée à yes. Le message peut être fourni en tant qu’argument sur la ligne de commande, ou il peut être envoyé sur l’entrée standard de wall.  La commande **wall**  envoie  un  message  à  tous  les  utilisateurs  connectés dont l’autorisation mesg(1) est positionnée à yes. Le message peut être fourni en tant qu’argument sur la ligne de commande, ou il peut être envoyé sur l’entrée standard de wall. 
- 
-Ouvrez donc un deuxième terminal via ssh en tant que trainee puis dans le premier envoyez un message : 
  
 <code> <code>
-[trainee@centos8 ~]$ su - +[trainee@redhat9 ~]$ su - 
-Password:  +Password: fenestros
-[root@centos8 ~]# wall this is a message from root +
-                                                                                +
-Broadcast message from trainee@centos8.ittraining.loc (pts/0) (Tue Apr 20 04:11 +
-                                                                                +
-this is a message from root +
-                                                                                +
-[root@centos8 ~]# +
-</code> +
- +
-Constatez que le message est affiché dans le deuxième terminal : +
- +
-<code> +
-Activate the web console with: systemctl enable --now cockpit.socket+
  
-Last login: Tue Apr 20 02:21:15 2021 from 10.0.2.2+[root@redhat9 ~]# wall this is a message from root
                                                                                                                                                                
-Broadcast message from trainee@centos8.ittraining.loc (pts/0) (Tue Apr 20 04:11+Broadcast message from root@redhat9.ittraining.loc (pts/0) (Wed Sep 25 15:31:46
                                                                                                                                                                
 this is a message from root this is a message from root
-[Enter]                                                                        
-[trainee@centos8 ~]$  
-                                                                            
 </code> </code>
  
Ligne 977: Ligne 1102:
  
 <code> <code>
-[root@centos8 ~]# date +[root@redhat9 ~]# date 
-Tue Apr 20 04:23:19 EDT 2021+Wed Sep 25 03:33:11 PM CEST 2024
 </code> </code>
  
Ligne 992: Ligne 1117:
  
 <code> <code>
-[root@centos8 ~]# seq 10+[root@redhat9 ~]# seq 10
 1 1
 2 2
Ligne 1003: Ligne 1128:
 9 9
 10 10
-[root@centos8 ~]# seq 20 30+ 
 +[root@redhat9 ~]# seq 10 20 
 +10 
 +11 
 +12 
 +13 
 +14 
 +15 
 +16 
 +17 
 +18 
 +19
 20 20
-21 + 
-22 +[root@redhat9 ~]# seq 20 10 90
-23 +
-24 +
-25 +
-26 +
-27 +
-28 +
-29 +
-30 +
-[root@centos8 ~]# seq 20 10 90+
 20 20
 30 30
Ligne 1024: Ligne 1151:
 80 80
 90 90
-[root@centos8 ~]#  
 </code> </code>
  
Ligne 1034: Ligne 1160:
  
 ====1.38 - La Commande screen==== ====1.38 - La Commande screen====
- 
-Avant de continuer et afin de réparer les fichiers de configuration dans **/etc/yum.repos.d/CentOS-***, veuillez exécuter les demandes suivantes : 
- 
-<code> 
-[root@centos8 ~]# sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* 
-[root@centos8 ~]# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* 
-</code> 
  
 La commande **screen** est un « multiplexeur de terminaux » permettant d'ouvrir jusqu'à 10 ( numérotés de 0 à 9 ) terminaux dans une même console, de passer de l'un à l'autre et de les récupérer plus tard. La commande **screen** est un « multiplexeur de terminaux » permettant d'ouvrir jusqu'à 10 ( numérotés de 0 à 9 ) terminaux dans une même console, de passer de l'un à l'autre et de les récupérer plus tard.
Ligne 1047: Ligne 1166:
  
 <code> <code>
-[root@centos8 ~]#  which screen +[root@redhat9 ~]# which screen 
-/usr/bin/which: no screen in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)+/usr/bin/which: no screen in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
  
-[root@centos8 ~]# dnf makecache +[root@redhat9 ~]# dnf makecache 
-CentOS Linux - AppStream                                                                                                                                                                                    7.9 kB/s | 4.kB     00:00     +Updating Subscription Management repositories. 
-CentOS Linux - BaseOS                                                                                                                                                                                        31 kB/s | 3.9 kB     00:00     +Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)                  25 kB/s | 4.kB     00:00     
-CentOS Linux 8 - Extras                                                                                                                                                                                        17 kB/s | 1.5 kB     00:00    +Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)                     25 kB/s | 4.1 kB     00:00    
 Metadata cache created. Metadata cache created.
  
-[root@centos8 ~]# dnf install screen -y +[root@redhat9 ~]# dnf install screen -y 
-Last metadata expiration check: 0:00:04 ago on Tue 20 Apr 2021 04:33:50 AM EDT.+Updating Subscription Management repositories. 
 +Last metadata expiration check: 0:00:49 ago on Wed 25 Sep 2024 03:35:01 PM CEST.
 No match for argument: screen No match for argument: screen
 Error: Unable to find a match: screen Error: Unable to find a match: screen
  
-[root@centos8 ~]# dnf install epel-release -y +[root@redhat9 ~]# subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms 
-...                                                                                                                                                                             1/1 +Repository 'codeready-builder-for-rhel-9-x86_64-rpms' is enabled for this system. 
 + 
 +[root@redhat9 ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm 
 +Updating Subscription Management repositories. 
 +Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs)                 5.0 MB/s | 9.1 MB     00:01     
 +Last metadata expiration check: 0:00:01 ago on Wed 25 Sep 2024 03:39:17 PM CEST. 
 +epel-release-latest-9.noarch.rpm                                         158 kB/s |  18 kB     00:00     
 +Dependencies resolved. 
 +========================================================================================================= 
 + Package                    Architecture         Version                Repository                  Size 
 +========================================================================================================= 
 +Installing: 
 + epel-release               noarch               9-8.el9                @commandline                18 k 
 + 
 +Transaction Summary 
 +========================================================================================================= 
 +Install  1 Package 
 + 
 +Total size: 18 k 
 +Installed size: 26 k 
 +Is this ok [y/N]: y 
 +Downloading Packages: 
 +Running transaction check 
 +Transaction check succeeded. 
 +Running transaction test 
 +Transaction test succeeded. 
 +Running transaction 
 +  Preparing        :                                                                                 1/1  
 +  Installing       : epel-release-9-8.el9.noarch                                                     1/1  
 +  Running scriptlet: epel-release-9-8.el9.noarch                                                     1/1  
 +Many EPEL packages require the CodeReady Builder (CRB) repository. 
 +It is recommended that you run /usr/bin/crb enable to enable the CRB repository. 
 + 
 +  Verifying        : epel-release-9-8.el9.noarch                                                     1/1  
 +Installed products updated. 
 Installed: Installed:
-  epel-release-8-8.el8.noarch                                                                                                                                                                                                                 +  epel-release-9-8.el9.noarch                                                                            
  
 Complete! Complete!
  
-[root@centos8 ~]# dnf install screen -y +[root@redhat9 ~]# dnf install screen 
-Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                                                                                        522 kB/s | 559 kB     00:01     +Updating Subscription Management repositories. 
-Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                                                2.5 MB/s | 9.4 MB     00:03     +Extra Packages for Enterprise Linux 9 - Next - x86_64                    179 kB/s | 276 kB     00:01     
-Last metadata expiration check: 0:00:01 ago on Tue 20 Apr 2021 04:36:11 AM EDT.+Last metadata expiration check: 0:00:01 ago on Wed 25 Sep 2024 03:43:49 PM CEST.
 Dependencies resolved. Dependencies resolved.
-============================================================================================================================================================================================================================================== +========================================================================================================= 
- Package                                                 Architecture                                            Version                                                          Repository                                             Size + Package                Architecture           Version                        Repository            Size 
-==============================================================================================================================================================================================================================================+=========================================================================================================
 Installing: Installing:
- screen                                                  x86_64                                                  4.6.2-10.el8                                                     epel                                                  582 k+ screen                 x86_64                 4.8.0-6.el9                    epel                 649 k
  
 Transaction Summary Transaction Summary
-==============================================================================================================================================================================================================================================+=========================================================================================================
 Install  1 Package Install  1 Package
  
-Total download size: 582 +Total download size: 649 
-Installed size: 971 k+Installed size: 957 k 
 +Is this ok [y/N]: y
 Downloading Packages: Downloading Packages:
-screen-4.6.2-10.el8.x86_64.rpm                                                                                                                                                                                283 kB/s | 582 kB     00:02     +screen-4.8.0-6.el9.x86_64.rpm                                            1.0 MB/s | 649 kB     00:00     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +--------------------------------------------------------------------------------------------------------- 
-Total                                                                                                                                                                                                         229 kB/s | 582 kB     00:02      +Total                                                                    875 kB/s | 649 kB     00:00     
-warning: /var/cache/dnf/epel-6519ee669354a484/packages/screen-4.6.2-10.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY +
-Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                                                1.6 MB/s | 1.6 kB     00:00     +
-Importing GPG key 0x2F86D6A1: +
- Userid     : "Fedora EPEL (8) <epel@fedoraproject.org>" +
- Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1 +
- From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 +
-Key imported successfully+
 Running transaction check Running transaction check
 Transaction check succeeded. Transaction check succeeded.
Ligne 1101: Ligne 1250:
 Transaction test succeeded. Transaction test succeeded.
 Running transaction Running transaction
-  Preparing        :                                                                                                                                                                                                                      1/1  +  Preparing        :                                                                                 1/1  
-  Running scriptlet: screen-4.6.2-10.el8.x86_64                                                                                                                                                                                           1/1  +  Running scriptlet: screen-4.8.0-6.el9.x86_64                                                       1/1  
-  Installing       : screen-4.6.2-10.el8.x86_64                                                                                                                                                                                           1/1  +  Installing       : screen-4.8.0-6.el9.x86_64                                                       1/1  
-  Running scriptlet: screen-4.6.2-10.el8.x86_64                                                                                                                                                                                           1/1  +  Running scriptlet: screen-4.8.0-6.el9.x86_64                                                       1/1  
-  Verifying        : screen-4.6.2-10.el8.x86_64                                                                                                                                                                                           1/1 +  Verifying        : screen-4.8.0-6.el9.x86_64                                                       1/1  
 +Installed products updated.
  
 Installed: Installed:
-  screen-4.6.2-10.el8.x86_64                                                                                                                                                                                                                  +  screen-4.8.0-6.el9.x86_64                                                                              
  
 Complete! Complete!
- 
-[root@centos8 ~]# which screen 
-/usr/bin/screen 
 </code> </code>
  
Ligne 1119: Ligne 1266:
  
 <code> <code>
-[root@centos8 ~]# screen -S mysession+[root@redhat9 ~]# screen -S mysession
 </code> </code>
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **[screen 0: root@centos8:~]**. 
-</WRAP> 
  
 Appuyez maintenant sur <key>CTRL</key> <key>a</key> puis relachez la touche <key>a</key> et appuyez sur la touche <key>c</key> pour créer un deuxième screen imbriqué dans la même session. Appuyez maintenant sur <key>CTRL</key> <key>a</key> puis relachez la touche <key>a</key> et appuyez sur la touche <key>c</key> pour créer un deuxième screen imbriqué dans la même session.
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **[screen 1: root@centos8:~]**. 
-</WRAP> 
  
 Pour repasser au premier screen, appuyez sur <key>CTRL</key> <key>a</key> <key>a</key>. Ceci permet de basculer entre les deux derniers screens. Pour repasser au premier screen, appuyez sur <key>CTRL</key> <key>a</key> <key>a</key>. Ceci permet de basculer entre les deux derniers screens.
Ligne 1137: Ligne 1276:
  
 <code> <code>
-[root@centos8 ~]# screen -ls+[root@redhat9 ~]# screen -ls
 There is a screen on: There is a screen on:
-        12149.mysession (Attached)+        3103.mysession  (Attached)
 1 Socket in /run/screen/S-root. 1 Socket in /run/screen/S-root.
 </code> </code>
Ligne 1146: Ligne 1285:
  
 <code> <code>
-[root@centos8 ~]# sleep 9999 +[root@redhat9 ~]# sleep 999 
-[1] 12187 +[1] 3153 
-[root@centos8 ~]# jobs -l + 
-[1]+ 12187 Running                 sleep 9999 +[root@redhat9 ~]# jobs -l 
-[root@centos8 ~]# +[1]+  3153 Running                 sleep 999 & 
 + 
 +[root@redhat9 ~]#
 </code> </code>
  
Ligne 1156: Ligne 1297:
  
 <code> <code>
-[root@centos8 ~]# screen -S mysession +[root@redhat9 ~]# screen -S mysession 
-[detached from 12149.mysession] +[detached from 3103.mysession] 
-[root@centos8 ~]# + 
 +[root@redhat9 ~]#
 </code> </code>
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **root@centos8:~**. 
-</WRAP> 
  
 Pour rattacher le screen, saisissez la commande suivante : Pour rattacher le screen, saisissez la commande suivante :
  
 <code> <code>
-[root@centos8 ~]# screen -r+[root@redhat9 ~]# screen -r
 </code> </code>
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **[screen 0: root@centos8:~]**. 
-</WRAP> 
  
 Utilisez la commande jobs pour vérifier si le processus créé par la commande sleep est toujours en cours de fonctionnement : Utilisez la commande jobs pour vérifier si le processus créé par la commande sleep est toujours en cours de fonctionnement :
  
 <code> <code>
-[root@centos8 ~]# jobs -l +[root@redhat9 ~]# jobs -l 
-[1]+ 12187 Running                 sleep 9999 &+[1]+  3153 Running                 sleep 999 & 
 + 
 +[root@redhat9 ~]#
 </code> </code>
  
 +<WRAP center round important 60%>
 Pour naviguer entre les screens il convient d'appuyer sur <key>CTRL</key> <key>a</key> puis relachez la touche <key>a</key> et appuyez sur la touche <key>n</key> ou d'appuyer sur <key>CTRL</key> <key>a</key> puis relachez la touche <key>a</key> et appuyez sur la touche <key>p</key>. Pour naviguer entre les screens il convient d'appuyer sur <key>CTRL</key> <key>a</key> puis relachez la touche <key>a</key> et appuyez sur la touche <key>n</key> ou d'appuyer sur <key>CTRL</key> <key>a</key> puis relachez la touche <key>a</key> et appuyez sur la touche <key>p</key>.
 +</WRAP>
  
-Détachez de nouveau le screen actuel en appuyant sur <key>CTRL</key> <key>a</key> puis en relachant la touche <key>a</key> et en appuyant sur la touche <key>d</key> :+Détachez de nouveau le screen actuel en appuyant sur <key>CTRL</key> <key>a</key> puis en relachant la touche <key>a</key> et en appuyant sur la touche <key>d</key>:
  
 <code> <code>
-[root@centos8 ~]# screen -S mysession +[root@redhat9 ~]# screen -S mysession 
-[detached from 12149.mysession] +[detached from 3103.mysession]
-[root@centos8 ~]# +
 </code> </code>
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **root@centos8:~**. 
-</WRAP> 
  
 Créez maintenant un autre screen, cette fois-ci, non imbriqué : Créez maintenant un autre screen, cette fois-ci, non imbriqué :
  
 <code> <code>
-[root@centos8 ~]# screen -S mysession1+[root@redhat9 ~]# screen -S mysession1
 </code> </code>
  
Ligne 1205: Ligne 1338:
  
 <code> <code>
-[root@centos8 ~]# screen -ls+[root@redhat9 ~]# screen -ls
 There are screens on: There are screens on:
-        12191.mysession1        (Attached) +        3181.mysession1 (Attached) 
-        12149.mysession (Detached)+        3103.mysession  (Detached)
 2 Sockets in /run/screen/S-root. 2 Sockets in /run/screen/S-root.
 </code> </code>
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **[screen 0: root@centos8:~]**. 
-</WRAP> 
  
 Notez cependant que ce screen 0 n'est pas le même que le screen 0 précédent dans lequel vous avez exécuté la commande sleep : Notez cependant que ce screen 0 n'est pas le même que le screen 0 précédent dans lequel vous avez exécuté la commande sleep :
  
 <code> <code>
-[root@centos8 ~]# jobs -l +[root@redhat9 ~]# jobs -l 
-[root@centos8 ~]# +[root@redhat9 ~]#
 </code> </code>
  
Ligne 1226: Ligne 1355:
  
 <code> <code>
-[root@centos8 ~]# screen -r 12149+[root@redhat9 ~]# screen -r 3103
  
-[root@centos8 ~]# screen -ls +[root@redhat9 ~]# screen -ls
-There is a screen on: +
-        12149.mysession (Attached) +
-1 Socket in /run/screen/S-root. +
-[root@centos8 ~]# sleep 9999 & +
-[1] 12187 +
-[root@centos8 ~]# jobs -l +
-[1]+ 12187 Running                 sleep 9999 & +
-[root@centos8 ~]# jobs -l +
-[1]+ 12187 Running                 sleep 9999 & +
-[root@centos8 ~]#  +
-</code> +
- +
-<WRAP center round important 60%> +
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **[screen 0: root@centos8:~]**. +
-</WRAP> +
- +
-Constatez de nouveau le résultat : +
- +
-<code> +
-[root@centos8 ~]# screen -ls+
 There are screens on: There are screens on:
-        12191.mysession1        (Attached) +        3181.mysession1 (Attached) 
-        12149.mysession (Attached)+        3103.mysession  (Attached)
 2 Sockets in /run/screen/S-root. 2 Sockets in /run/screen/S-root.
 </code> </code>
Ligne 1258: Ligne 1367:
  
 <code> <code>
-[root@centos8 ~]# which screen +[root@redhat9 ~]# screen -S mysession1 
-/usr/bin/screen +[detached from 3181.mysession1] 
-[root@centos8 ~]# screen -S mysession + 
-[detached from 12149.mysession] +[root@redhat9 ~]# 
-[root@centos8 ~]# screen -r +
-[detached from 12149.mysession] +
-[root@centos8 ~]# screen -S mysession1 +
-[detached from 12191.mysession1] +
-[root@centos8 ~]# +
 </code> </code>
- 
-<WRAP center round important 60%> 
-**Important** - Vous verrez en tant que titre de votre terminal la chaîne **root@centos8:~**. 
-</WRAP> 
  
 Constatez de nouveau le résultat : Constatez de nouveau le résultat :
  
 <code> <code>
-[root@centos8 ~]# screen -ls+[root@redhat9 ~]# screen -ls
 There are screens on: There are screens on:
- 12191.mysession1 (Detached) +        3181.mysession1 (Detached) 
- 12149.mysession (Attached)+        3103.mysession  (Attached)
 2 Sockets in /run/screen/S-root. 2 Sockets in /run/screen/S-root.
 </code> </code>
Ligne 1286: Ligne 1386:
  
 <code> <code>
-[root@centos8 ~]# screen -XS 12191 quit +[root@redhat9 ~]# screen -XS 3181 quit 
-[root@centos8 ~]# screen -XS 12149 quit + 
-[root@centos8 ~]# screen -ls+[root@redhat9 ~]# screen -ls 
 +There is a screen on: 
 +        3103.mysession  (Detached) 
 +1 Socket in /run/screen/S-root. 
 + 
 +[root@redhat9 ~]# screen -XS 3103 quit 
 + 
 +[root@redhat9 ~]# screen -ls
 No Sockets found in /run/screen/S-root. No Sockets found in /run/screen/S-root.
 +
 </code> </code>
  
Ligne 1312: Ligne 1420:
  
 <code> <code>
-[root@centos8 ~]# ls -lai /tmp +[root@redhat9 ~]# ls -lai /tmp 
-total 0 +total 12 
-16800396 drwxrwxrwt.  root root 172 Apr 20 04:36 + 33554561 drwxrwxrwt. 16 root root 4096 Sep 25 15:54 
-     128 dr-xr-xr-x. 17 root root 224 Apr 19 11:50 .. +      128 dr-xr-xr-x. 18 root root  235 Oct 19  2023 .. 
-25447488 drwxrwxrwt.  2 root root   Apr 19 11:37 .font-unix + 33786429 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:30 dbus-G7skg3Wlpv 
- 8388741 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .ICE-unix + 33625153 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:45 dbus-s2vBGtxTHi 
-     143 drwx------.  3 root root  17 Apr 19 12:05 systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii + 33554609 drwxrwxrwt.  2 root root    Sep 25 12:30 .font-unix 
-  621976 drwxrwxrwt.  root root   6 Apr 19 11:37 .Test-unix + 34654589 drwxrwxrwt.  2 root root   18 Sep 25 12:44 .ICE-unix 
-  621954 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .X11-unix + 33625083 drwxr-xr-x.  2 root root   54 Sep 25 13:10 inode 
-17319048 drwxrwxrwt.  2 root root   Apr 19 11:37 .XIM-unix +100664689 drwx------.  3 root root   17 Sep 25 12:45 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
-[root@centos8 ~]# ls -ali /tmp +    10601 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
-total 0 + 67157623 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
-16800396 drwxrwxrwt.  root root 172 Apr 20 04:36 + 67157622 drwx------.  root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
-     128 dr-xr-xr-x. 17 root root 224 Apr 19 11:50 .. + 67155430 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
-25447488 drwxrwxrwt.  2 root root   Apr 19 11:37 .font-unix + 67155431 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
- 8388741 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .ICE-unix + 67157618 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
-     143 drwx------.  3 root root  17 Apr 19 12:05 systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii + 67157619 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
-  621976 drwxrwxrwt.  root root   6 Apr 19 11:37 .Test-unix + 67157620 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN 
-  621954 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .X11-unix + 33625086 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1024-lock 
-17319048 drwxrwxrwt.  2 root root   Apr 19 11:37 .XIM-unix + 33625152 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1025-lock 
-[root@centos8 ~]# ls -ial /tmp +  2074740 drwxrwxrwt.  2 root root   32 Sep 25 12:45 .X11-unix 
-total 0 +    10599 drwxrwxrwt.  2 root root    Sep 25 12:30 .XIM-unix 
-16800396 drwxrwxrwt.  root root 172 Apr 20 04:36 + 
-     128 dr-xr-xr-x. 17 root root 224 Apr 19 11:50 .. +[root@redhat9 ~]# ls -ali /tmp 
-25447488 drwxrwxrwt.  2 root root   Apr 19 11:37 .font-unix +total 12 
- 8388741 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .ICE-unix + 33554561 drwxrwxrwt. 16 root root 4096 Sep 25 15:54 
-     143 drwx------.  3 root root  17 Apr 19 12:05 systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii +      128 dr-xr-xr-x. 18 root root  235 Oct 19  2023 .. 
-  621976 drwxrwxrwt.  root root   6 Apr 19 11:37 .Test-unix + 33786429 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:30 dbus-G7skg3Wlpv 
-  621954 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .X11-unix + 33625153 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:45 dbus-s2vBGtxTHi 
-17319048 drwxrwxrwt.  2 root root   Apr 19 11:37 .XIM-unix+ 33554609 drwxrwxrwt.  2 root root    Sep 25 12:30 .font-unix 
 + 34654589 drwxrwxrwt.  2 root root   18 Sep 25 12:44 .ICE-unix 
 + 33625083 drwxr-xr-x.  2 root root   54 Sep 25 13:10 inode 
 +100664689 drwx------.  3 root root   17 Sep 25 12:45 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
 +    10601 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
 + 67157623 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
 + 67157622 drwx------.  root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
 + 67155430 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
 + 67155431 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
 + 67157618 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
 + 67157619 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
 + 67157620 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN 
 + 33625086 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1024-lock 
 + 33625152 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1025-lock 
 +  2074740 drwxrwxrwt.  2 root root   32 Sep 25 12:45 .X11-unix 
 +    10599 drwxrwxrwt.  2 root root    Sep 25 12:30 .XIM-unix 
 + 
 +[root@redhat9 ~]# ls -ial /tmp 
 +total 12 
 + 33554561 drwxrwxrwt. 16 root root 4096 Sep 25 15:54 
 +      128 dr-xr-xr-x. 18 root root  235 Oct 19  2023 .. 
 + 33786429 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:30 dbus-G7skg3Wlpv 
 + 33625153 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:45 dbus-s2vBGtxTHi 
 + 33554609 drwxrwxrwt.  2 root root    Sep 25 12:30 .font-unix 
 + 34654589 drwxrwxrwt.  2 root root   18 Sep 25 12:44 .ICE-unix 
 + 33625083 drwxr-xr-x.  2 root root   54 Sep 25 13:10 inode 
 +100664689 drwx------.  3 root root   17 Sep 25 12:45 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
 +    10601 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
 + 67157623 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
 + 67157622 drwx------.  root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
 + 67155430 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
 + 67155431 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
 + 67157618 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
 + 67157619 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
 + 67157620 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN 
 + 33625086 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1024-lock 
 + 33625152 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1025-lock 
 +  2074740 drwxrwxrwt.  2 root root   32 Sep 25 12:45 .X11-unix 
 +    10599 drwxrwxrwt.  2 root root    Sep 25 12:30 .XIM-unix
 </code> </code>
  
Ligne 1347: Ligne 1493:
  
 <code> <code>
-[root@centos8 ~]# ls -l --all --inode /tmp +[root@redhat9 ~]# ls -l --all --inode /tmp 
-total 0 +total 12 
-16800396 drwxrwxrwt.  root root 172 Apr 20 04:36 + 33554561 drwxrwxrwt. 16 root root 4096 Sep 25 15:54 
-     128 dr-xr-xr-x. 17 root root 224 Apr 19 11:50 .. +      128 dr-xr-xr-x. 18 root root  235 Oct 19  2023 .. 
-25447488 drwxrwxrwt.  2 root root   Apr 19 11:37 .font-unix + 33786429 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:30 dbus-G7skg3Wlpv 
- 8388741 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .ICE-unix + 33625153 srwxrwxrwx.  1 gdm  gdm     0 Sep 25 12:45 dbus-s2vBGtxTHi 
-     143 drwx------.  3 root root  17 Apr 19 12:05 systemd-private-d9ff2376a8a44f0392f860d80c839be4-chronyd.service-6im4Ii + 33554609 drwxrwxrwt.  2 root root    Sep 25 12:30 .font-unix 
-  621976 drwxrwxrwt.  root root   6 Apr 19 11:37 .Test-unix + 34654589 drwxrwxrwt.  2 root root   18 Sep 25 12:44 .ICE-unix 
-  621954 drwxrwxrwt.  2 root root   6 Apr 19 11:37 .X11-unix + 33625083 drwxr-xr-x.  2 root root   54 Sep 25 13:10 inode 
-17319048 drwxrwxrwt.  2 root root   Apr 19 11:37 .XIM-unix +100664689 drwx------.  3 root root   17 Sep 25 12:45 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-colord.service-FfNuds 
-[root@centos8 ~]# ls -l --allinode /tmp+    10601 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-dbus-broker.service-VIpKgR 
 + 67157623 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-kdump.service-0SbYbm 
 + 67157622 drwx------.  root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-ModemManager.service-k4DpLF 
 + 67155430 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-power-profiles-daemon.service-mIx9S5 
 + 67155431 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-rtkit-daemon.service-2gD28Z 
 + 67157618 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-switcheroo-control.service-rLbOK4 
 + 67157619 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-systemd-logind.service-uLNyfd 
 + 67157620 drwx------.  3 root root   17 Sep 25 12:44 systemd-private-7e6b4544d8d34a9bb30a13aeb8e4e02a-upower.service-bIpAUN 
 + 33625086 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1024-lock 
 + 33625152 -r--r--r--.  1 gdm  gdm    11 Sep 25 12:45 .X1025-lock 
 +  2074740 drwxrwxrwt.  2 root root   32 Sep 25 12:45 .X11-unix 
 +    10599 drwxrwxrwt.  2 root root    Sep 25 12:30 .XIM-unix 
 + 
 +[root@redhat9 ~]# ls -l --allinode /tmp
 ls: unrecognized option '--allinode' ls: unrecognized option '--allinode'
 Try 'ls --help' for more information. Try 'ls --help' for more information.
Ligne 1458: Ligne 1617:
  
 <code> <code>
-[root@centos8 ~]# cd /tmp +[root@redhat9 ~]# cd /tmp 
-[root@centos8 tmp]# vi greptest + 
-[root@centos8 tmp]# cat greptest+[root@redhat9 tmp]# vi greptest 
 + 
 +[root@redhat9 tmp]# cat greptest
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 1473: Ligne 1634:
  
 <code> <code>
-[root@centos8 ~]# grep '[a-zA-Z]' /tmp/greptest+[root@redhat9 ~]# grep '[a-zA-Z]' /tmp/greptest
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 1484: Ligne 1645:
  
 <code> <code>
-[root@centos8 ~]# grep '[a-zA-Z0-9]' /tmp/greptest+[root@redhat9 ~]# grep '[a-zA-Z0-9]' /tmp/greptest
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 1500: Ligne 1661:
  
 <code> <code>
-[root@centos8 ~]# grep '[0-9]\{3\}-[0-9]\{4\}' /tmp/greptest+[root@redhat9 ~]# grep '[0-9]\{3\}-[0-9]\{4\}' /tmp/greptest
 555-5555 555-5555
 </code> </code>
Ligne 1507: Ligne 1668:
  
 <code> <code>
-[root@centos8 ~]# grep '^.$' /tmp/greptest+[root@redhat9 ~]# grep '^.$' /tmp/greptest
 f f
 £ £
Ligne 1519: Ligne 1680:
  
 <code> <code>
-[root@centos8 ~]# grep '^\.' /tmp/greptest+[root@redhat9 ~]# grep '^\.' /tmp/greptest
 .fenestros .fenestros
 .fe .fe
Ligne 1535: Ligne 1696:
  
 <code> <code>
-[root@centos8 tmp]# vi greptest +[root@redhat9 tmp]# vi greptest 
-[root@centos8 tmp]# cat greptest+[root@redhat9 tmp]# cat greptest
 # Starting comment # Starting comment
 fenestrOS fenestrOS
Ligne 1555: Ligne 1716:
  
 <code> <code>
-[root@centos8 ~]# grep -E -v '^(#|$)' /tmp/greptest+[root@redhat9 ~]# grep -E -v '^(#|$)' /tmp/greptest
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 1572: Ligne 1733:
  
 <code> <code>
-[root@centos8 ~]# egrep -v '^(#|$)'  /tmp/greptest > /tmp/greptest1 +[root@redhat9 ~]# egrep -v '^(#|$)'  /tmp/greptest > /tmp/greptest1 
-[root@centos8 ~]# cat /tmp/greptest1+[root@redhat9 ~]# cat /tmp/greptest1
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 1590: Ligne 1751:
  
 <code> <code>
-[root@centos8 tmp]# vi greptest +[root@redhat9 tmp]# vi greptest 
-[root@centos8 tmp]# cat greptest+ 
 +[root@redhat9 tmp]# cat greptest
 # Starting comment # Starting comment
 ^ This line will be used to demonstrate the use of fgrep ^ This line will be used to demonstrate the use of fgrep
Ligne 1611: Ligne 1773:
  
 <code> <code>
-[root@centos8 ~]# fgrep '^' /tmp/greptest+[root@redhat9 ~]# fgrep '^' /tmp/greptest
 ^ This line will be used to demonstrate the use of fgrep ^ This line will be used to demonstrate the use of fgrep
 </code> </code>
Ligne 1618: Ligne 1780:
  
 <code> <code>
-[root@centos8 ~]# grep '^' /tmp/greptest+[root@redhat9 ~]# grep '^' /tmp/greptest
 # Starting comment # Starting comment
 ^ This line will be used to demonstrate the use of fgrep ^ This line will be used to demonstrate the use of fgrep
Ligne 1638: Ligne 1800:
  
 <code> <code>
-[root@centos8 ~]# grep '^\^' /tmp/greptest+[root@redhat9 ~]# grep '^\^' /tmp/greptest
 ^ This line will be used to demonstrate the use of fgrep ^ This line will be used to demonstrate the use of fgrep
 </code> </code>
Ligne 1686: Ligne 1848:
  
 <code> <code>
-[root@centos8 ~]# sed '1,10d' /etc/services | more+[root@redhat9 ~]# sed '1,10d' /etc/services | more
 # are included, only the more common ones. # are included, only the more common ones.
 # #
Ligne 1716: Ligne 1878:
  
 <code> <code>
-[root@centos8 ~]# sed '/^#/d' /etc/services | more+[root@redhat9 ~]# sed '/^#/d' /etc/services | more
  
 tcpmux          1/tcp                           # TCP port service multiplexer tcpmux          1/tcp                           # TCP port service multiplexer
Ligne 1750: Ligne 1912:
  
 <code> <code>
-[root@centos8 ~]# sed '1,2p' /etc/passwd+[root@redhat9 ~]# sed '1,2p' /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
Ligne 1768: Ligne 1930:
  
 <code> <code>
-[root@centos8 ~]# sed -n '1,2p' /etc/passwd+[root@redhat9 ~]# sed -n '1,2p' /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 1776: Ligne 1938:
  
 <code> <code>
-[root@centos8 ~]# sed -n '/^#/!w /tmp/sedtest' /etc/services +[root@redhat9 ~]# sed -n '/^#/!w /tmp/sedtest' /etc/services 
-[root@centos8 ~]# more /tmp/sedtest+ 
 +[root@redhat9 ~]# more /tmp/sedtest
  
 tcpmux          1/tcp                           # TCP port service multiplexer tcpmux          1/tcp                           # TCP port service multiplexer
Ligne 1807: Ligne 1970:
  
 <code> <code>
-[root@centos8 ~]# echo "user1,user2,user3" > /tmp/sedtest1 +[root@redhat9 ~]# echo "user1,user2,user3" > /tmp/sedtest1 
-[root@centos8 ~]# cat /tmp/sedtest1 | sed 's/,/ /g'+[root@redhat9 ~]# cat /tmp/sedtest1 | sed 's/,/ /g'
 user1 user2 user3 user1 user2 user3
 </code> </code>
Ligne 1847: Ligne 2010:
  
 <code> <code>
-[root@centos8 tmp]# ls -l | awk '{print $8 $3 $4}'+[root@redhat9 tmp]# ls -l | awk '{print $8 $3 $4}'
  
 05:23rootroot 05:23rootroot
Ligne 1861: Ligne 2024:
  
 <code> <code>
-[root@centos8 tmp]# ls -l | awk '{print $8 " " $3 " " $4}'+[root@redhat9 tmp]# ls -l | awk '{print $8 " " $3 " " $4}'
      
 05:23 root root 05:23 root root
Ligne 1963: Ligne 2126:
  
 <code> <code>
-[root@centos8 tmp]# cat > scriptawk+[root@redhat9 tmp]# cat > scriptawk
 BEGIN { BEGIN {
   print "Liste des systèmes de fichiers montés"}   print "Liste des systèmes de fichiers montés"}
Ligne 1979: Ligne 2142:
  
 <code> <code>
-[root@centos8 tmp]# awk -f scriptawk /etc/mtab+[root@redhat9 tmp]# awk -f scriptawk /etc/mtab
 Liste des systèmes de fichiers montés Liste des systèmes de fichiers montés
 sysfs /sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0 sysfs /sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0
Ligne 2151: Ligne 2314:
  
 <code> <code>
-[root@centos8 tmp]# vi sales.txt +[root@redhat9 tmp]# vi sales.txt 
-[root@centos8 tmp]# cat sales.txt+[root@redhat9 tmp]# cat sales.txt
 # Annual sales by French department # Annual sales by French department
 # 83 # 83
Ligne 2178: Ligne 2341:
  
 <code> <code>
-[root@centos8 tmp]# vi sales.awk +[root@redhat9 tmp]# vi sales.awk 
-[root@centos8 tmp]# cat sales.awk + 
 +[root@redhat9 tmp]# cat sales.awk 
 # BEGIN # BEGIN
 BEGIN { BEGIN {
Ligne 2229: Ligne 2393:
  
 <code> <code>
-[root@centos8 tmp]# awk -f /tmp/sales.awk /tmp/sales.txt +[root@redhat9 tmp]# awk -f /tmp/sales.awk /tmp/sales.txt 
-PC Type :  Portables   Sales (06+13+83) :        175 +PC Type :  Portables     Sales (06+13+83) :        175 
-PC Type :  Ipads   Sales (06+13+83) :         76 +PC Type :  Ipads         Sales (06+13+83) :         76 
-PC Type :  Desktops   Sales (06+13+83) :        329 +PC Type :  Desktops      Sales (06+13+83) :        329 
-PC Type :  Servers   Sales (06+13+83) :         41+PC Type :  Servers       Sales (06+13+83) :         41
 </code> </code>
  
Ligne 2245: Ligne 2409:
  
 <code> <code>
-[root@centos8 tmp]# vi expand +[root@redhat9 tmp]# vi expand 
-[root@centos8 tmp]# cat expand+ 
 +[root@redhat9 tmp]# cat expand
 un deux trois quatre cinq un deux trois quatre cinq
 un deux trois quatre cinq un deux trois quatre cinq
Ligne 2257: Ligne 2422:
 un deux trois quatre cinq un deux trois quatre cinq
 un deux trois quatre cinq un deux trois quatre cinq
-</code>>+</code>
  
 Utilisez les option **-vet** de la commande cat pour visualiser les caractères invisibles : Utilisez les option **-vet** de la commande cat pour visualiser les caractères invisibles :
  
 <code> <code>
-[root@centos8 tmp]# cat -vet expand+[root@redhat9 tmp]# cat -vet expand
 un^Ideux^Itrois^Iquatre^Icinq$ un^Ideux^Itrois^Iquatre^Icinq$
 un^Ideux^Itrois^Iquatre^Icinq$ un^Ideux^Itrois^Iquatre^Icinq$
Ligne 2282: Ligne 2447:
  
 <code> <code>
-[root@centos8 ~]# expand expand > expand1+[root@redhat9 ~]# expand expand > expand1
 </code> </code>
  
Ligne 2288: Ligne 2453:
  
 <code> <code>
-[root@centos8 ~]# cat -vet expand1+[root@redhat9 ~]# cat -vet expand1
 un      deux    trois   quatre  cinq$ un      deux    trois   quatre  cinq$
 un      deux    trois   quatre  cinq$ un      deux    trois   quatre  cinq$
Ligne 2318: Ligne 2483:
  
 <code> <code>
-[root@centos8 ~]# cat -vet expand1+[root@redhat9 ~]# cat -vet expand1
 un      deux    trois   quatre  cinq$ un      deux    trois   quatre  cinq$
 un      deux    trois   quatre  cinq$ un      deux    trois   quatre  cinq$
Ligne 2330: Ligne 2495:
 un      deux    trois   quatre  cinq$ un      deux    trois   quatre  cinq$
  
-[root@centos8 ~]# unexpand -a expand1 > expand2+[root@redhat9 ~]# unexpand -a expand1 > expand2
  
-[root@centos8 ~]# cat -vet expand2+[root@redhat9 ~]# cat -vet expand2
 un^Ideux^Itrois^Iquatre^Icinq$ un^Ideux^Itrois^Iquatre^Icinq$
 un^Ideux^Itrois^Iquatre^Icinq$ un^Ideux^Itrois^Iquatre^Icinq$
Ligne 2364: Ligne 2529:
  
 <code> <code>
-[root@centos8 tmp]# cut -c1-7 /etc/passwd+[root@redhat9 tmp]# cut -c1-7 /etc/passwd
 root:x: root:x:
 bin:x:1 bin:x:1
Ligne 2378: Ligne 2543:
 ftp:x:1 ftp:x:1
 nobody: nobody:
-dbus:x: 
 systemd systemd
-systemd +dbus:x:
-tss:x:5+
 polkitd polkitd
-unbound +avahi:x 
-libstor +tss:x:5 
-cockpit+colord: 
 +clevis: 
 +rtkit:x
 sssd:x: sssd:x:
 +geoclue
 +libstor
 +systemd
 setroub setroub
 +pipewir
 +flatpak
 +gdm:x:4
 +cockpit
 +cockpit
 +gnome-i
 sshd:x: sshd:x:
 chrony: chrony:
 +dnsmasq
 tcpdump tcpdump
 trainee trainee
-cockpit 
-rngd:x: 
-gluster 
-qemu:x: 
-rpc:x:3 
-rpcuser 
-saslaut 
-radvd:x 
-dnsmasq 
 </code> </code>
  
Ligne 2406: Ligne 2572:
  
 <code> <code>
-[root@centos8 tmp]# cut -c1-5,10-15,30- /etc/passwd+[root@redhat9 tmp]# cut -c1-5,10-15,30- /etc/passwd
 root:0:rootsh root:0:rootsh
 bin:x:bin:/gin bin:x:bin:/gin
Ligne 2420: Ligne 2586:
 ftp:x50:FTP:/sbin/nologin ftp:x50:FTP:/sbin/nologin
 nobod65534:verflow User:/:/sbin/nologin nobod65534:verflow User:/:/sbin/nologin
-dbus::81:Syus:/:/sbin/nologin 
 systeoredumstemd Core Dumper:/:/sbin/nologin systeoredumstemd Core Dumper:/:/sbin/nologin
-systeesolvetemd Resolver:/:/sbin/nologin +dbus::81:Syus:/:/sbin/nologin
-tss:x59:Acche trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin+
 polki:998:9lkitd:/:/sbin/nologin polki:998:9lkitd:/:/sbin/nologin
-unbou:997:9 resolver:/etc/unbound:/sbin/nologin +avahi0:70:ASD Stack:/var/run/avahi-daemon:/sbin/nologin 
-libstemgmt:on account for libstoragemgmt:/var/run/lsm:/sbin/nologin +tss:x59:AccTPM access:/dev/null:/sbin/nologin 
-cockps:x:99 cockpit-ws:/nonexisting:/sbin/nologin +color997:99ord:/var/lib/colord:/sbin/nologin 
-sssd:4:990:/:/sbin/nologin +clevi996:99ption Framework unprivileged user:/var/cache/clevis:/usr/sbin/nologin 
-setroshoot:r/lib/setroubleshoot:/sbin/nologin +rtkit72:172proc:/sbin/nologin 
-sshd::74:Prted SSH:/var/empty/sshd:/sbin/nologin +sssd:5:991:/:/sbin/nologin 
-chron992:98rony:/sbin/nologin+geocl:994:9oclue:/var/lib/geoclue:/sbin/nologin 
 +libstemgmt:on account for libstoragemgmt:/:/usr/sbin/nologin 
 +systeom:x:9 Userspace OOM Killer:/:/usr/sbin/nologin 
 +setroshoot:nux troubleshoot server:/var/lib/setroubleshoot:/sbin/nologin 
 +pipewx:985:ystem Daemon:/var/run/pipewire:/sbin/nologin 
 +flatp:984:9atpak system helper:/:/sbin/nologin 
 +gdm:x42::/vin/nologin 
 +cockps:x:98 cockpit web service:/nonexisting:/sbin/nologin 
 +cockpsinstaUser for cockpit-ws instances:/nonexisting:/sbin/nologin 
 +gnometial-s::/run/gnome-initial-setup/:/sbin/nologin 
 +sshd::74:Prted SSH:/usr/share/empty.sshd:/sbin/nologin 
 +chron980:97m user:/var/lib/chrony:/sbin/nologin 
 +dnsma:979:9P and DNS server:/var/lib/dnsmasq:/sbin/nologin
 tcpdu:72:72gin tcpdu:72:72gin
 train:1000:home/trainee:/bin/bash train:1000:home/trainee:/bin/bash
-cockpsinstaUser for cockpit-ws instances:/nonexisting:/sbin/nologin 
-rngd:0:986:Generator Daemon:/var/lib/rngd:/sbin/nologin 
-glust:989:9aemons:/run/gluster:/sbin/nologin 
-qemu:7:107:bin/nologin 
-rpc:x32:Rpcar/lib/rpcbind:/sbin/nologin 
-rpcus:29:29ser:/var/lib/nfs:/sbin/nologin 
-saslax:988:ser:/run/saslauthd:/sbin/nologin 
-radvd5:75:rbin/nologin 
-dnsma:983:9P and DNS server:/var/lib/dnsmasq:/sbin/nologi 
 </code> </code>
  
Ligne 2448: Ligne 2615:
  
 <code> <code>
-[root@centos8 tmp]# cut -d: -f2,4,6 /etc/passwd+[root@redhat9 tmp]# cut -d: -f2,4,6 /etc/passwd
 x:0:/root x:0:/root
 x:1:/bin x:1:/bin
Ligne 2462: Ligne 2629:
 x:50:/var/ftp x:50:/var/ftp
 x:65534:/ x:65534:/
-x:81:/ 
 x:997:/ x:997:/
-x:193:/ +x:81:/
-x:59:/dev/null+
 x:996:/ x:996:/
-x:994:/etc/unbound +x:70:/var/run/avahi-daemon 
-x:993:/var/run/lsm +x:59:/dev/null 
-x:991:/nonexisting +x:993:/var/lib/colord 
-x:990:/ +x:992:/var/cache/clevis 
-x:989:/var/lib/setroubleshoot +x:172:/proc 
-x:74:/var/empty/sshd +x:991:/ 
-x:988:/var/lib/chrony+x:990:/var/lib/geoclue 
 +x:988:/ 
 +x:987:/ 
 +x:986:/var/lib/setroubleshoot 
 +x:984:/var/run/pipewire 
 +x:983:/ 
 +x:42:/var/lib/gdm 
 +x:982:/nonexisting 
 +x:981:/nonexisting 
 +x:980:/run/gnome-initial-setup/ 
 +x:74:/usr/share/empty.sshd 
 +x:979:/var/lib/chrony 
 +x:978:/var/lib/dnsmasq
 x:72:/ x:72:/
 x:1000:/home/trainee x:1000:/home/trainee
-x:987:/nonexisting 
-x:986:/var/lib/rngd 
-x:985:/run/gluster 
-x:107:/ 
-x:32:/var/lib/rpcbind 
-x:29:/var/lib/nfs 
-x:76:/run/saslauthd 
-x:75:/ 
-x:983:/var/lib/dnsmasq 
 </code> </code>
  
Ligne 2498: Ligne 2666:
  
 <code> <code>
-[root@centos8 tmp]# cut -d: -f4 /etc/passwd | sort -n | uniq+[root@redhat9 tmp]# cut -d: -f4 /etc/passwd | sort -n | uniq
 0 0
 1 1
Ligne 2505: Ligne 2673:
 7 7
 12 12
-29 +42
-32+
 50 50
 59 59
 +70
 72 72
 74 74
-75 
-76 
 81 81
 100 100
-107 +172 
-193+978 
 +979 
 +980 
 +981 
 +982
 983 983
-985+984
 986 986
 987 987
 988 988
-989 
 990 990
 991 991
 +992
 993 993
-994 
 996 996
 997 997
Ligne 2548: Ligne 2717:
  
 <code> <code>
-[root@centos8 tmp]# cat /etc/passwd | tr "[a-z]" "[A-Z]"+[root@redhat9 tmp]# cat /etc/passwd | tr "[a-z]" "[A-Z]"
 ROOT:X:0:0:ROOT:/ROOT:/BIN/BASH ROOT:X:0:0:ROOT:/ROOT:/BIN/BASH
 BIN:X:1:1:BIN:/BIN:/SBIN/NOLOGIN BIN:X:1:1:BIN:/BIN:/SBIN/NOLOGIN
Ligne 2562: Ligne 2731:
 FTP:X:14:50:FTP USER:/VAR/FTP:/SBIN/NOLOGIN FTP:X:14:50:FTP USER:/VAR/FTP:/SBIN/NOLOGIN
 NOBODY:X:65534:65534:KERNEL OVERFLOW USER:/:/SBIN/NOLOGIN NOBODY:X:65534:65534:KERNEL OVERFLOW USER:/:/SBIN/NOLOGIN
-DBUS:X:81:81:SYSTEM MESSAGE BUS:/:/SBIN/NOLOGIN 
 SYSTEMD-COREDUMP:X:999:997:SYSTEMD CORE DUMPER:/:/SBIN/NOLOGIN SYSTEMD-COREDUMP:X:999:997:SYSTEMD CORE DUMPER:/:/SBIN/NOLOGIN
-SYSTEMD-RESOLVE:X:193:193:SYSTEMD RESOLVER:/:/SBIN/NOLOGIN +DBUS:X:81:81:SYSTEM MESSAGE BUS:/:/SBIN/NOLOGIN
-TSS:X:59:59:ACCOUNT USED BY THE TROUSERS PACKAGE TO SANDBOX THE TCSD DAEMON:/DEV/NULL:/SBIN/NOLOGIN+
 POLKITD:X:998:996:USER FOR POLKITD:/:/SBIN/NOLOGIN POLKITD:X:998:996:USER FOR POLKITD:/:/SBIN/NOLOGIN
-UNBOUND:X:997:994:UNBOUND DNS RESOLVER:/ETC/UNBOUND:/SBIN/NOLOGIN +AVAHI:X:70:70:AVAHI MDNS/DNS-SD STACK:/VAR/RUN/AVAHI-DAEMON:/SBIN/NOLOGIN 
-LIBSTORAGEMGMT:X:996:993:DAEMON ACCOUNT FOR LIBSTORAGEMGMT:/VAR/RUN/LSM:/SBIN/NOLOGIN +TSS:X:59:59:ACCOUNT USED FOR TPM ACCESS:/DEV/NULL:/SBIN/NOLOGIN 
-COCKPIT-WS:X:995:991:USER FOR COCKPIT-WS:/NONEXISTING:/SBIN/NOLOGIN +COLORD:X:997:993:USER FOR COLORD:/VAR/LIB/COLORD:/SBIN/NOLOGIN 
-SSSD:X:994:990:USER FOR SSSD:/:/SBIN/NOLOGIN +CLEVIS:X:996:992:CLEVIS DECRYPTION FRAMEWORK UNPRIVILEGED USER:/VAR/CACHE/CLEVIS:/USR/SBIN/NOLOGIN 
-SETROUBLESHOOT:X:993:989::/VAR/LIB/SETROUBLESHOOT:/SBIN/NOLOGIN +RTKIT:X:172:172:REALTIMEKIT:/PROC:/SBIN/NOLOGIN 
-SSHD:X:74:74:PRIVILEGE-SEPARATED SSH:/VAR/EMPTY/SSHD:/SBIN/NOLOGIN +SSSD:X:995:991:USER FOR SSSD:/:/SBIN/NOLOGIN 
-CHRONY:X:992:988::/VAR/LIB/CHRONY:/SBIN/NOLOGIN+GEOCLUE:X:994:990:USER FOR GEOCLUE:/VAR/LIB/GEOCLUE:/SBIN/NOLOGIN 
 +LIBSTORAGEMGMT:X:988:988:DAEMON ACCOUNT FOR LIBSTORAGEMGMT:/:/USR/SBIN/NOLOGIN 
 +SYSTEMD-OOM:X:987:987:SYSTEMD USERSPACE OOM KILLER:/:/USR/SBIN/NOLOGIN 
 +SETROUBLESHOOT:X:986:986:SELINUX TROUBLESHOOT SERVER:/VAR/LIB/SETROUBLESHOOT:/SBIN/NOLOGIN 
 +PIPEWIRE:X:985:984:PIPEWIRE SYSTEM DAEMON:/VAR/RUN/PIPEWIRE:/SBIN/NOLOGIN 
 +FLATPAK:X:984:983:USER FOR FLATPAK SYSTEM HELPER:/:/SBIN/NOLOGIN 
 +GDM:X:42:42::/VAR/LIB/GDM:/SBIN/NOLOGIN 
 +COCKPIT-WS:X:983:982:USER FOR COCKPIT WEB SERVICE:/NONEXISTING:/SBIN/NOLOGIN 
 +COCKPIT-WSINSTANCE:X:982:981:USER FOR COCKPIT-WS INSTANCES:/NONEXISTING:/SBIN/NOLOGIN 
 +GNOME-INITIAL-SETUP:X:981:980::/RUN/GNOME-INITIAL-SETUP/:/SBIN/NOLOGIN 
 +SSHD:X:74:74:PRIVILEGE-SEPARATED SSH:/USR/SHARE/EMPTY.SSHD:/SBIN/NOLOGIN 
 +CHRONY:X:980:979:CHRONY SYSTEM USER:/VAR/LIB/CHRONY:/SBIN/NOLOGIN 
 +DNSMASQ:X:979:978:DNSMASQ DHCP AND DNS SERVER:/VAR/LIB/DNSMASQ:/SBIN/NOLOGIN
 TCPDUMP:X:72:72::/:/SBIN/NOLOGIN TCPDUMP:X:72:72::/:/SBIN/NOLOGIN
 TRAINEE:X:1000:1000:TRAINEE:/HOME/TRAINEE:/BIN/BASH TRAINEE:X:1000:1000:TRAINEE:/HOME/TRAINEE:/BIN/BASH
-COCKPIT-WSINSTANCE:X:991:987:USER FOR COCKPIT-WS INSTANCES:/NONEXISTING:/SBIN/NOLOGIN 
-RNGD:X:990:986:RANDOM NUMBER GENERATOR DAEMON:/VAR/LIB/RNGD:/SBIN/NOLOGIN 
-GLUSTER:X:989:985:GLUSTERFS DAEMONS:/RUN/GLUSTER:/SBIN/NOLOGIN 
-QEMU:X:107:107:QEMU USER:/:/SBIN/NOLOGIN 
-RPC:X:32:32:RPCBIND DAEMON:/VAR/LIB/RPCBIND:/SBIN/NOLOGIN 
-RPCUSER:X:29:29:RPC SERVICE USER:/VAR/LIB/NFS:/SBIN/NOLOGIN 
-SASLAUTH:X:988:76:SASLAUTHD USER:/RUN/SASLAUTHD:/SBIN/NOLOGIN 
-RADVD:X:75:75:RADVD USER:/:/SBIN/NOLOGIN 
-DNSMASQ:X:983:983:DNSMASQ DHCP AND DNS SERVER:/VAR/LIB/DNSMASQ:/SBIN/NOLOGIN 
 </code> </code>
  
Ligne 2598: Ligne 2768:
  
 <code> <code>
-[root@centos8 tmp]# paste -d: /etc/passwd /etc/shadow +[root@redhat9 tmp]# paste -d: /etc/passwd /etc/shadow 
-root:x:0:0:root:/root:/bin/bash:root:$6$9Sa1IumuSlJc8EBg$8jGU/4xGCXy64QuBSMyKOC6/FWs41rdY5tzF5/7yHG6FRS2Y2eOJIcst1JbcvNoqMPDU4lpZ6THW97jwGuQNf1::0:99999:7::: +root:x:0:0:root:/root:/bin/bash:root:$6$AbCPA3HFsB/NDBkA$q2T8XLo83bPWCid/WHo.i0m9dgjdfQWiZAkqD/ajOjZ8gHdKFYX5y8kuTvIYY/qMjmu9beCk3BZV8ewL/Q15D1::0:99999:7::: 
-bin:x:1:1:bin:/bin:/sbin/nologin:bin:*:18264:0:99999:7::: +bin:x:1:1:bin:/bin:/sbin/nologin:bin:*:19347:0:99999:7::: 
-daemon:x:2:2:daemon:/sbin:/sbin/nologin:daemon:*:18264:0:99999:7::: +daemon:x:2:2:daemon:/sbin:/sbin/nologin:daemon:*:19347:0:99999:7::: 
-adm:x:3:4:adm:/var/adm:/sbin/nologin:adm:*:18264:0:99999:7::: +adm:x:3:4:adm:/var/adm:/sbin/nologin:adm:*:19347:0:99999:7::: 
-lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin:lp:*:18264:0:99999:7::: +lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin:lp:*:19347:0:99999:7::: 
-sync:x:5:0:sync:/sbin:/bin/sync:sync:*:18264:0:99999:7::: +sync:x:5:0:sync:/sbin:/bin/sync:sync:*:19347:0:99999:7::: 
-shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown:shutdown:*:18264:0:99999:7::: +shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown:shutdown:*:19347:0:99999:7::: 
-halt:x:7:0:halt:/sbin:/sbin/halt:halt:*:18264:0:99999:7::: +halt:x:7:0:halt:/sbin:/sbin/halt:halt:*:19347:0:99999:7::: 
-mail:x:8:12:mail:/var/spool/mail:/sbin/nologin:mail:*:18264:0:99999:7::: +mail:x:8:12:mail:/var/spool/mail:/sbin/nologin:mail:*:19347:0:99999:7::: 
-operator:x:11:0:operator:/root:/sbin/nologin:operator:*:18264:0:99999:7::: +operator:x:11:0:operator:/root:/sbin/nologin:operator:*:19347:0:99999:7::: 
-games:x:12:100:games:/usr/games:/sbin/nologin:games:*:18264:0:99999:7::: +games:x:12:100:games:/usr/games:/sbin/nologin:games:*:19347:0:99999:7::: 
-ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin:ftp:*:18264:0:99999:7::: +ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin:ftp:*:19347:0:99999:7::: 
-nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin:nobody:*:18264:0:99999:7::: +nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin:nobody:*:19347:0:99999:7::: 
-dbus:x:81:81:System message bus:/:/sbin/nologin:dbus:!!:18390:::::: +systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin:systemd-coredump:!!:19649:::::: 
-systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin:systemd-coredump:!!:18390:::::: +dbus:x:81:81:System message bus:/:/sbin/nologin:dbus:!!:19649:::::: 
-systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin:systemd-resolve:!!:18390:::::: +polkitd:x:998:996:User for polkitd:/:/sbin/nologin:polkitd:!!:19649:::::: 
-tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin:tss:!!:18390:::::: +avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologin:avahi:!!:19649:::::: 
-polkitd:x:998:996:User for polkitd:/:/sbin/nologin:polkitd:!!:18390:::::: +tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin:tss:!!:19649:::::: 
-unbound:x:997:994:Unbound DNS resolver:/etc/unbound:/sbin/nologin:unbound:!!:18390:::::: +colord:x:997:993:User for colord:/var/lib/colord:/sbin/nologin:colord:!!:19649:::::: 
-libstoragemgmt:x:996:993:daemon account for libstoragemgmt:/var/run/lsm:/sbin/nologin:libstoragemgmt:!!:18390:::::: +clevis:x:996:992:Clevis Decryption Framework unprivileged user:/var/cache/clevis:/usr/sbin/nologin:clevis:!!:19649:::::: 
-cockpit-ws:x:995:991:User for cockpit-ws:/nonexisting:/sbin/nologin:cockpit-ws:!!:18390:::::: +rtkit:x:172:172:RealtimeKit:/proc:/sbin/nologin:rtkit:!!:19649:::::: 
-sssd:x:994:990:User for sssd:/:/sbin/nologin:sssd:!!:18390:::::: +sssd:x:995:991:User for sssd:/:/sbin/nologin:sssd:!!:19649:::::: 
-setroubleshoot:x:993:989::/var/lib/setroubleshoot:/sbin/nologin:setroubleshoot:!!:18390:::::: +geoclue:x:994:990:User for geoclue:/var/lib/geoclue:/sbin/nologin:geoclue:!!:19649:::::: 
-sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin:sshd:!!:18390:::::: +libstoragemgmt:x:988:988:daemon account for libstoragemgmt:/:/usr/sbin/nologin:libstoragemgmt:!*:19649:::::: 
-chrony:x:992:988::/var/lib/chrony:/sbin/nologin:chrony:!!:18390:::::: +systemd-oom:x:987:987:systemd Userspace OOM Killer:/:/usr/sbin/nologin:systemd-oom:!*:19649:::::: 
-tcpdump:x:72:72::/:/sbin/nologin:tcpdump:!!:18390:::::: +setroubleshoot:x:986:986:SELinux troubleshoot server:/var/lib/setroubleshoot:/sbin/nologin:setroubleshoot:!!:19649:::::: 
-trainee:x:1000:1000:trainee:/home/trainee:/bin/bash:trainee:$6$p4HOAHX7UAzw1nQh$VZL12Lye.mR8v1IP2e4f0PCW8DzHj2MMAaA7r2ZLoTnQN7Ziskce3bo/xTMu1bXZm5GebJjSw7.X5tABVNoJ2/::0:99999:7::: +pipewire:x:985:984:PipeWire System Daemon:/var/run/pipewire:/sbin/nologin:pipewire:!!:19649:::::: 
-cockpit-wsinstance:x:991:987:User for cockpit-ws instances:/nonexisting:/sbin/nologin:cockpit-wsinstance:!!:18736:::::: +flatpak:x:984:983:User for flatpak system helper:/:/sbin/nologin:flatpak:!!:19649:::::: 
-rngd:x:990:986:Random Number Generator Daemon:/var/lib/rngd:/sbin/nologin:rngd:!!:18736:::::: +gdm:x:42:42::/var/lib/gdm:/sbin/nologin:gdm:!!:19649:::::: 
-gluster:x:989:985:GlusterFS daemons:/run/gluster:/sbin/nologin:gluster:!!:18736:::::: +cockpit-ws:x:983:982:User for cockpit web service:/nonexisting:/sbin/nologin:cockpit-ws:!!:19649:::::: 
-qemu:x:107:107:qemu user:/:/sbin/nologin:qemu:!!:18736:::::: +cockpit-wsinstance:x:982:981:User for cockpit-ws instances:/nonexisting:/sbin/nologin:cockpit-wsinstance:!!:19649:::::: 
-rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin:rpc:!!:18736:0:99999:7::: +gnome-initial-setup:x:981:980::/run/gnome-initial-setup/:/sbin/nologin:gnome-initial-setup:!!:19649:::::: 
-rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin:rpcuser:!!:18736:::::: +sshd:x:74:74:Privilege-separated SSH:/usr/share/empty.sshd:/sbin/nologin:sshd:!!:19649:::::: 
-saslauth:x:988:76:Saslauthd user:/run/saslauthd:/sbin/nologin:saslauth:!!:18736:::::: +chrony:x:980:979:chrony system user:/var/lib/chrony:/sbin/nologin:chrony:!!:19649:::::: 
-radvd:x:75:75:radvd user:/:/sbin/nologin:radvd:!!:18736:::::: +dnsmasq:x:979:978:Dnsmasq DHCP and DNS server:/var/lib/dnsmasq:/sbin/nologin:dnsmasq:!!:19649:::::: 
-dnsmasq:x:983:983:Dnsmasq DHCP and DNS server:/var/lib/dnsmasq:/sbin/nologin:dnsmasq:!!:18736::::::+tcpdump:x:72:72::/:/sbin/nologin:tcpdump:!!:19649:::::: 
 +trainee:x:1000:1000:trainee:/home/trainee:/bin/bash:trainee:$6$RTR0r5su3SinU2DK$dt/TI6LByO3SKM04nopxI33O7.eE62rPQ0DlO2HRH2PUtPM4c1pvh3koznv6nE6Z0oCoM0Fq7IUdt8cbjXUMh0::0:99999:7:::
 </code> </code>
  
Ligne 2651: Ligne 2822:
  
 <code> <code>
-[root@centos8 tmp]# dd if=/dev/zero of=/file bs=1024k count=250+[root@redhat9 tmp]# dd if=/dev/zero of=/file bs=1024k count=250
 250+0 records in 250+0 records in
 250+0 records out 250+0 records out
-262144000 bytes (262 MB, 250 MiB) copied, 0.143522 s, 1.GB/s+262144000 bytes (262 MB, 250 MiB) copied, 0.132123 s, 2.GB/s
 </code>  </code> 
  
Ligne 2660: Ligne 2831:
  
 <code> <code>
-[root@centos8 tmp]# split -b 50m /file filepart +[root@redhat9 tmp]# split -b 50m /file filepart 
-[root@centos8 tmp]# ls -l | grep filepart + 
--rw-r--r--. 1 root root 52428800 Apr 20 07:14 filepartaa +[root@redhat9 tmp]# ls -l | grep filepart 
--rw-r--r--. 1 root root 52428800 Apr 20 07:14 filepartab +-rw-r--r--. 1 root root 52428800 Sep 25 16:17 filepartaa 
--rw-r--r--. 1 root root 52428800 Apr 20 07:14 filepartac +-rw-r--r--. 1 root root 52428800 Sep 25 16:17 filepartab 
--rw-r--r--. 1 root root 52428800 Apr 20 07:14 filepartad +-rw-r--r--. 1 root root 52428800 Sep 25 16:17 filepartac 
--rw-r--r--. 1 root root 52428800 Apr 20 07:14 filepartae+-rw-r--r--. 1 root root 52428800 Sep 25 16:17 filepartad 
 +-rw-r--r--. 1 root root 52428800 Sep 25 16:17 filepartae
 </code> </code>
  
Ligne 2676: Ligne 2848:
  
 <code> <code>
-[root@centos8 tmp]# cat fileparta* > newfile +[root@redhat9 tmp]# cat fileparta* > newfile 
-[root@centos8 tmp]# ls -l | grep newf +[root@redhat9 tmp]# ls -l | grep newf 
--rw-r--r--. 1 root root 262144000 Apr 20 07:15 newfile +-rw-r--r--. 1 root root 262144000 Sep 25 16:18 newfile 
-[root@centos8 tmp]# ls -l / | grep file +[root@redhat9 tmp]# ls -l / | grep file 
--rw-r--r--.   1 root root 262144000 Apr 20 07:14 file+-rw-r--r--.   1 root root 262144000 Sep 25 16:17 file
 </code> </code>
  
Ligne 2696: Ligne 2868:
  
 <code> <code>
-[root@centos8 ~]# cp /etc/passwd /root+[root@redhat9 ~]# cp /etc/passwd /root
 </code> </code>
  
Ligne 2717: Ligne 2889:
  
 <code> <code>
-[root@centos8 tmp]# diff /etc/passwd /root/passwd+[root@redhat9 tmp]# diff /etc/passwd /root/passwd
 26,27c26 26,27c26
 < tcpdump:x:72:72::/:/sbin/nologin < tcpdump:x:72:72::/:/sbin/nologin
Ligne 2744: Ligne 2916:
  
 <code> <code>
-[root@centos8 tmp]# cmp /root/passwd /etc/passwd+[root@redhat9 tmp]# cmp /root/passwd /etc/passwd
 /root/passwd /etc/passwd differ: byte 1300, line 26 /root/passwd /etc/passwd differ: byte 1300, line 26
 </code> </code>
Ligne 2751: Ligne 2923:
  
 <code> <code>
-[root@centos8 tmp]# cmp -l /root/passwd /etc/passwd | more+[root@redhat9 tmp]# cmp -l /root/passwd /etc/passwd | more
 cmp: EOF on /root/passwd after byte 1931 cmp: EOF on /root/passwd after byte 1931
 1300 162 143 1300 162 143
Ligne 2794: Ligne 2966:
  
 <code> <code>
-[root@centos8 ~]# dnf install patch -y+[root@redhat9 ~]# dnf install patch -y
 </code> </code>
  
Ligne 2800: Ligne 2972:
  
 <code> <code>
-[root@centos8 tmp]# cat /tmp/greptest+[root@redhat9 tmp]# cat /tmp/greptest
 # Starting comment # Starting comment
 ^ This line will be used to demonstrate the use of fgrep ^ This line will be used to demonstrate the use of fgrep
Ligne 2815: Ligne 2987:
 £ £
 # End comment # End comment
-[root@centos8 tmp]# cat /tmp/greptest1+ 
 +[root@redhat9 tmp]# cat /tmp/greptest1
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 2828: Ligne 3001:
  
 <code> <code>
-[root@centos8 tmp]# diff -u greptest greptest1 > greptest.patch+[root@redhat9 tmp]# diff -u greptest greptest1 > greptest.patch
 </code> </code>
  
Ligne 2834: Ligne 3007:
  
 <code> <code>
-[root@centos8 tmp]# cat greptest.patch+[root@redhat9 tmp]# cat greptest.patch
 --- greptest 2021-04-20 05:23:52.710188632 -0400 --- greptest 2021-04-20 05:23:52.710188632 -0400
 +++ greptest1 2021-04-20 05:21:55.189882834 -0400 +++ greptest1 2021-04-20 05:21:55.189882834 -0400
Ligne 2857: Ligne 3030:
  
 <code> <code>
-[root@centos8 tmp]# patch < greptest.patch+[root@redhat9 tmp]# patch < greptest.patch
 patching file greptest patching file greptest
 </code> </code>
Ligne 2864: Ligne 3037:
  
 <code> <code>
-[root@centos8 tmp]# cat greptest+[root@redhat9 tmp]# cat greptest
 fenestrOS fenestrOS
 fenestros fenestros
Ligne 2893: Ligne 3066:
  
 <code> <code>
-[root@centos8 tmp]# strings /usr/bin/passwd | more+[root@redhat9 tmp]# strings /usr/bin/passwd | more
 /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
 libuser.so.1 libuser.so.1
Ligne 2923: Ligne 3096:
  
 <code> <code>
-[root@centos8 tmp]# strings -t d /usr/bin/passwd | more+[root@redhat9 tmp]# strings -t d /usr/bin/passwd | more
     624 /lib64/ld-linux-x86-64.so.2     624 /lib64/ld-linux-x86-64.so.2
    2809 libuser.so.1    2809 libuser.so.1
Ligne 2960: Ligne 3133:
  
 <code> <code>
-[root@centos8 tmp]# strings -t d -n 15 /usr/bin/passwd | more+[root@redhat9 tmp]# strings -t d -n 15 /usr/bin/passwd | more
     624 /lib64/ld-linux-x86-64.so.2     624 /lib64/ld-linux-x86-64.so.2
    2822 g_value_get_int64    2822 g_value_get_int64
Ligne 2990: Ligne 3163:
  
 <code> <code>
-[root@centos8 tmp]# strings -f /bin/* | grep "(c)" +[root@redhat9 tmp]# strings -f /bin/* | grep "(c)"
-/bin/broadwayd:  * (c) Joel Martin (github@martintribe.org), used with permission +
-/bin/broadwayd: /** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */(function() {'use strict';var l=void 0,p=this;function q(c,d){var a=c.split("."),b=p;!(a[0]in b)&&b.execScript&&b.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&d!==l?b[e]=d:b=b[e]?b[e]:b[e]={}};var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;function u(c){var d=c.length,a=0,b=Number.POSITIVE_INFINITY,e,f,g,h,k,m,s,n,t;for(n=0;n<d;++n)c[n]>a&&(a=c[n]),c[n]<b&&(b=c[n]);e=1<<a;f=new (r?Uint32Array:Array)(e);g=1;h=0;for(k=2;g<=a;){for(n=0;n<d;++n)if(c[n]===g){m=0;s=h;for(t=0;t<g;++t)m=m<<1|s&1,s>>=1;for(t=m;t<e;t+=k)f[t]=g<<16|n;++h}++g;h<<=1;k<<=1}return[f,a,b]};function v(c,d){this.g=[];this.h=32768;this.c=this.f=this.d=this.k=0;this.input=r?new Uint8Array(c):c;this.l=!1;this.i=w;this.p=!1;if(d||!(d={}))d.index&&(this.d=d.index),d.bufferSize&&(this.h=d.bufferSize),d.bufferType&&(this.i=d.bufferType),d.resize&&(this.p=d.resize);switch(this.i){case x:this.a=32768;this.b=new (r?Uint8Array:Array)(32768+this.h+258);break;case w:this.a=0;this.b=new (r?Uint8Array:Array)(this.h);this.e=this.u;this.m=this.r;this.j=this.s;break;default:throw Error("invalid inflate mode"); +
-/bin/broadwayd: v.prototype.t=function(){for(;!this.l;){var c=y(this,3);c&1&&(this.l=!0);c>>>=1;switch(c){case 0:var d=this.input,a=this.d,b=this.b,e=this.a,f=l,g=l,h=l,k=b.length,m=l;this.c=this.f=0;f=d[a++];if(f===l)throw Error("invalid uncompressed block header: LEN (first byte)");g=f;f=d[a++];if(f===l)throw Error("invalid uncompressed block header: LEN (second byte)");g|=f<<8;f=d[a++];if(f===l)throw Error("invalid uncompressed block header: NLEN (first byte)");h=f;f=d[a++];if(f===l)throw Error("invalid uncompressed block header: NLEN (second byte)");h|= +
-/bin/broadwayd: function B(c){function d(a,c,b){var d,f,e,g;for(g=0;g<a;)switch(d=S(this,c),d){case 16:for(e=3+y(this,2);e--;)b[g++]=f;break;case 17:for(e=3+y(this,3);e--;)b[g++]=0;f=0;break;case 18:for(e=11+y(this,7);e--;)b[g++]=0;f=0;break;default:f=b[g++]=d}return b}var a=y(c,5)+257,b=y(c,5)+1,e=y(c,4)+4,f=new (r?Uint8Array:Array)(D.length),g,h,k,m;for(m=0;m<e;++m)f[D[m]]=y(c,3);g=u(f);h=new (r?Uint8Array:Array)(a);k=new (r?Uint8Array:Array)(b);c.j(u(d.call(c,a,g,h)),u(d.call(c,b,g,k)))} +
-/bin/broadwayd: v.prototype.e=function(){var c=new (r?Uint8Array:Array)(this.a-32768),d=this.a-32768,a,b,e=this.b;if(r)c.set(e.subarray(32768,c.length));else{a=0;for(b=c.length;a<b;++a)c[a]=e[a+32768]}this.g.push(c);this.k+=c.length;if(r)e.set(e.subarray(d,d+32768));else for(a=0;32768>a;++a)e[a]=e[d+a];this.a=32768;return e}; +
-/bin/broadwayd: v.prototype.u=function(c){var d,a=this.input.length/this.d+1|0,b,e,f,g=this.input,h=this.b;c&&("number"===typeof c.o&&(a=c.o),"number"===typeof c.q&&(a+=c.q));2>a?(b=(g.length-this.d)/this.n[2],f=258*(b/2)|0,e=f<h.length?h.length+f:h.length<<1):e=h.length*a;r?(d=new Uint8Array(e),d.set(h)):d=h;return this.b=d};+
 /bin/btrace: # Copyright (c) 2005 Silicon Graphics, Inc. /bin/btrace: # Copyright (c) 2005 Silicon Graphics, Inc.
 +/bin/buildah: 0,1,2,3,4,5,6,7,8,9,(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m)(n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z)
 +/bin/buildah: B!!B!?B..B0,B0.B1,B1.B10B11B12B13B14B15B16B17B18B19B2,B2.B20B21B22B23B24B25B26B27B28B29B3,B3.B30B31B32B33B34B35B36B37B38B39B4,B4.B40B41B42B43B44B45B46B47B48B49B5,B5.B50B6,B6.B7,B7.B8,B8.B9,B9.B==B?!B??BAUBBqBCDBDJBDZBDzBGBBGyBHPBHVBHgBHzBIIBIJBIUBIVBIXBKBBKKBKMBLJBLjBMBBMCBMDBMRBMVBMWBNJBNjBNoBPHBPRBPaBRsBSDBSMBSSBSvBTMBVIBWCBWZBWbBXIBccBcdBcmBdBBdaBdlBdmBdzBeVBffBfiBflBfmBhaBiiBijBinBivBixBkABkVBkWBkgBklBkmBktBljBlmBlnBlxBm2Bm3BmABmVBmWBmbBmgBmlBmmBmsBnABnFBnVBnWBnjBnmBnsBoVBpABpFBpVBpWBpcBpsBsrBstBviBxiC(1)C(2)C(3)C(4)C(5)C(6)C(7)C(8)C(9)C(A)C(B)C(C)C(D)C(E)C(F)C(G)C(H)C(I)C(J)C(K)C(L)C(M)C(N)C(O)C(P)C(Q)C(R)C(S)C(T)C(U)C(V)C(W)C(X)C(Y)C(Z)C(a)C(b)C(c)C(d)C(e)C(f)C(g)C(h)C(i)C(j)C(k)C(l)C(m)C(n)C(o)C(p)C(q)C(r)C(s)C(t)C(u)C(v)C(w)C(x)C(y)C(z)C...C10.C11.C12.C13.C14.C15.C16.C17.C18.C19.C20.C::=C===CCo.CFAXCGHzCGPaCIIICLTDCL
 +/bin/cdda-player: (c) 1997-98 Gerd Knorr <kraxel@goldbach.in-berlin.de>
 +/bin/cdda-player: (c) 2005-2006, 2017 Rocky Bernstein <rocky@gnu.org>
 +/bin/cd-drive: Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
 +/bin/cd-info: Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
 +/bin/cd-read: Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein
 /bin/chcat:         if len(c) > 0 and (c[0] == "+" or c[0] == "-"): /bin/chcat:         if len(c) > 0 and (c[0] == "+" or c[0] == "-"):
 /bin/chcat:                 if len(c) > 0 and c[0] == "+": /bin/chcat:                 if len(c) > 0 and c[0] == "+":
 /bin/chcat:                 if len(c) > 0 and c[0] == "-": /bin/chcat:                 if len(c) > 0 and c[0] == "-":
-/bin/gprof: @(#) Copyright (c) 1983 Regents of the University of California.+/bin/clevis# Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-decrypt: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-decrypt-null: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-decrypt-tang: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-decrypt-tpm2: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-encrypt-null: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-encrypt-tang: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-encrypt-tpm2: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-luks-bind: # Copyright (c) 2016 Red Hat, Inc. 
 +/bin/clevis-luks-common-functions: # Copyright (c) 2019 Red Hat, Inc. 
 +/bin/clevis-luks-edit: # Copyright (c) 2020 Red Hat, Inc. 
 +/bin/clevis-luks-list: # Copyright (c) 2017-2019 Red Hat, Inc. 
 +/bin/clevis-luks-pass: # Copyright (c) 2019 Red Hat, Inc. 
 +/bin/clevis-luks-regen: # Copyright (c) 2020 Red Hat, Inc. 
 +/bin/clevis-luks-report: # Copyright (c) 2018, 2020 Red Hat, Inc. 
 +/bin/clevis-luks-unbind: # Copyright (c) 2017 Red Hat, Inc. 
 +/bin/clevis-luks-unlock: # Copyright (c) 2016 Red Hat, Inc. 
 +/bin/diffpp: # Copyright (c) 1996-1998 Markku Rossi 
 +/bin/gnome-control-center: NM_IS_REMOTE_CONNECTION (c) 
 +/bin/ibus-setup: # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com> 
 +/bin/ibus-setup: # Copyright (c) 2018-2019 Takao Fujiwara <takao.fujiwara1@gmail.com> 
 +/bin/ibus-setup: Copyright (c2007-2018 Red Hat, Inc. 
 +/bin/iso-info: Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein 
 +/bin/iso-read: Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein 
 +/bin/itstool: # Copyright (c) 2010-2018 Shaun McCance <shaunm@gnome.org>
 /bin/lsusb.py: # Copyright (c) 2009 Kurt Garloff <garloff@suse.de> /bin/lsusb.py: # Copyright (c) 2009 Kurt Garloff <garloff@suse.de>
-/bin/lsusb.py: # Copyright (c) 2013 Kurt Garloff <kurt@garloff.de>+/bin/lsusb.py: # Copyright (c) 2013,2018 Kurt Garloff <kurt@garloff.de> 
 +/bin/mmc-tool: Copyright (c) 2003-2005, 2007-2008, 2011-2015, 2017 R. Bernstein 
 +/bin/orca: __copyright__ = "Copyright (c) 2010-2012 The Orca Team" \ 
 +/bin/orca:                 "Copyright (c) 2012 Igalia, S.L."
 /bin/pinentry: # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. /bin/pinentry: # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
 /bin/pinentry: # Copyright (c) 2009 Fedora Project /bin/pinentry: # Copyright (c) 2009 Fedora Project
 /bin/pinentry: # Copyright (c) 2014-2015 Red Hat /bin/pinentry: # Copyright (c) 2014-2015 Red Hat
-/bin/pkgconf: Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 +/bin/pkgconf: Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 20192020
-/bin/pkg-config: Copyright (c) 201120122013, 2014, 2015, 2016, 2017, 2018+
 /bin/pod2usage: # Copyright (c) 1996-2000 by Bradford Appleton. All rights reserved. /bin/pod2usage: # Copyright (c) 1996-2000 by Bradford Appleton. All rights reserved.
 /bin/pod2usage: # Copyright (c) 2001-2016 by Marek Rouchal. /bin/pod2usage: # Copyright (c) 2001-2016 by Marek Rouchal.
-/bin/qemu-imgCopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers +/bin/podman0,1,2,3,4,5,6,7,8,9,(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m)(n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z) 
-/bin/qemu-imgCopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers +/bin/podmanB!!B!?B..B0,B0.B1,B1.B10B11B12B13B14B15B16B17B18B19B2,B2.B20B21B22B23B24B25B26B27B28B29B3,B3.B30B31B32B33B34B35B36B37B38B39B4,B4.B40B41B42B43B44B45B46B47B48B49B5,B5.B50B6,B6.B7,B7.B8,B8.B9,B9.B==B?!B??BAUBBqBCDBDJBDZBDzBGBBGyBHPBHVBHgBHzBIIBIJBIUBIVBIXBKBBKKBKMBLJBLjBMBBMCBMDBMRBMVBMWBNJBNjBNoBPHBPRBPaBRsBSDBSMBSSBSvBTMBVIBWCBWZBWbBXIBccBcdBcmBdBBdaBdlBdmBdzBeVBffBfiBflBfmBhaBiiBijBinBivBixBkABkVBkWBkgBklBkmBktBljBlmBlnBlxBm2Bm3BmABmVBmWBmbBmgBmlBmmBmsBnABnFBnVBnWBnjBnmBnsBoVBpABpFBpVBpWBpcBpsBsrBstBviBxiC(1)C(2)C(3)C(4)C(5)C(6)C(7)C(8)C(9)C(A)C(B)C(C)C(D)C(E)C(F)C(G)C(H)C(I)C(J)C(K)C(L)C(M)C(N)C(O)C(P)C(Q)C(R)C(S)C(T)C(U)C(V)C(W)C(X)C(Y)C(Z)C(a)C(b)C(c)C(d)C(e)C(f)C(g)C(h)C(i)C(j)C(k)C(l)C(m)C(n)C(o)C(p)C(q)C(r)C(s)C(t)C(u)C(v)C(w)C(x)C(y)C(z)C...C10.C11.C12.C13.C14.C15.C16.C17.C18.C19.C20.C::=C===CCo.CFAXCGHzCGPaCIIICLTDCL 
-/bin/qemu-ioCopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers +/bin/podmansh0,1,2,3,4,5,6,7,8,9,(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m)(n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z) 
-/bin/qemu-nbdCopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers +/bin/podmanshB!!B!?B..B0,B0.B1,B1.B10B11B12B13B14B15B16B17B18B19B2,B2.B20B21B22B23B24B25B26B27B28B29B3,B3.B30B31B32B33B34B35B36B37B38B39B4,B4.B40B41B42B43B44B45B46B47B48B49B5,B5.B50B6,B6.B7,B7.B8,B8.B9,B9.B==B?!B??BAUBBqBCDBDJBDZBDzBGBBGyBHPBHVBHgBHzBIIBIJBIUBIVBIXBKBBKKBKMBLJBLjBMBBMCBMDBMRBMVBMWBNJBNjBNoBPHBPRBPaBRsBSDBSMBSSBSvBTMBVIBWCBWZBWbBXIBccBcdBcmBdBBdaBdlBdmBdzBeVBffBfiBflBfmBhaBiiBijBinBivBixBkABkVBkWBkgBklBkmBktBljBlmBlnBlxBm2Bm3BmABmVBmWBmbBmgBmlBmmBmsBnABnFBnVBnWBnjBnmBnsBoVBpABpFBpVBpWBpcBpsBsrBstBviBxiC(1)C(2)C(3)C(4)C(5)C(6)C(7)C(8)C(9)C(A)C(B)C(C)C(D)C(E)C(F)C(G)C(H)C(I)C(J)C(K)C(L)C(M)C(N)C(O)C(P)C(Q)C(R)C(S)C(T)C(U)C(V)C(W)C(X)C(Y)C(Z)C(a)C(b)C(c)C(d)C(e)C(f)C(g)C(h)C(i)C(j)C(k)C(l)C(m)C(n)C(o)C(p)C(q)C(r)C(s)C(t)C(u)C(v)C(w)C(x)C(y)C(z)C...C10.C11.C12.C13.C14.C15.C16.C17.C18.C19.C20.C::=C===CCo.CFAXCGHzCGPaCIIICLTDCL 
-/bin/qemu-pr-helper: Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers+/bin/qemu-ga: Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
 /bin/rescan-scsi-bus.sh: # (c) 1998--2010 Kurt Garloff <kurt@garloff.de>, GNU GPL v2 or v3 /bin/rescan-scsi-bus.sh: # (c) 1998--2010 Kurt Garloff <kurt@garloff.de>, GNU GPL v2 or v3
 /bin/rescan-scsi-bus.sh: # (c) 2006--2018 Hannes Reinecke, GNU GPL v2 or later /bin/rescan-scsi-bus.sh: # (c) 2006--2018 Hannes Reinecke, GNU GPL v2 or later
-/bin/rngtest: Copyright (c) 2004 by Henrique de Moraes Holschuh+/bin/rhc: 0,1,2,3,4,5,6,7,8,9,(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m)(n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z) 
 +/bin/rhc: B!!B!?B..B0,B0.B1,B1.B10B11B12B13B14B15B16B17B18B19B2,B2.B20B21B22B23B24B25B26B27B28B29B3,B3.B30B31B32B33B34B35B36B37B38B39B4,B4.B40B41B42B43B44B45B46B47B48B49B5,B5.B50B6,B6.B7,B7.B8,B8.B9,B9.B==B?!B??BAUBBqBCDBDJBDZBDzBGBBGyBHPBHVBHgBHzBIIBIJBIUBIVBIXBKBBKKBKMBLJBLjBMBBMCBMDBMRBMVBMWBNJBNjBNoBPHBPRBPaBRsBSDBSMBSSBSvBTMBVIBWCBWZBWbBXIBccBcdBcmBdBBdaBdlBdmBdzBeVBffBfiBflBfmBhaBiiBijBinBivBixBkABkVBkWBkgBklBkmBktBljBlmBlnBlxBm2Bm3BmABmVBmWBmbBmgBmlBmmBmsBnABnFBnVBnWBnjBnmBnsBoVBpABpFBpVBpWBpcBpsBsrBstBviBxiC(1)C(2)C(3)C(4)C(5)C(6)C(7)C(8)C(9)C(A)C(B)C(C)C(D)C(E)C(F)C(G)C(H)C(I)C(J)C(K)C(L)C(M)C(N)C(O)C(P)C(Q)C(R)C(S)C(T)C(U)C(V)C(W)C(X)C(Y)C(Z)C(a)C(b)C(c)C(d)C(e)C(f)C(g)C(h)C(i)C(j)C(k)C(l)C(m)C(n)C(o)C(p)C(q)C(r)C(s)C(t)C(u)C(v)C(w)C(x)C(y)C(z)C...C10.C11.C12.C13.C14.C15.C16.C17.C18.C19.C20.C::=C===CCo.CFAXCGHzCGPaCIIICLTDCL 
 +/bin/screen: Copyright (c) 2018-2020 Alexander Naumov, Amadeusz Slawinski
 /bin/screen: Copyright (c) 2015-2017 Juergen Weigert, Alexander Naumov, Amadeusz Slawinski /bin/screen: Copyright (c) 2015-2017 Juergen Weigert, Alexander Naumov, Amadeusz Slawinski
 /bin/screen: Copyright (c) 2010-2014 Juergen Weigert, Sadrul Habib Chowdhury /bin/screen: Copyright (c) 2010-2014 Juergen Weigert, Sadrul Habib Chowdhury
Ligne 3028: Ligne 3230:
 /bin/sg_test_rwbuf: (c) Douglas Gilbert, Kurt Garloff, 2000-2007, GNU GPL /bin/sg_test_rwbuf: (c) Douglas Gilbert, Kurt Garloff, 2000-2007, GNU GPL
 /bin/slabinfo: slabinfo 4/15/2011. (c) 2007 sgi/(c) 2011 Linux Foundation. /bin/slabinfo: slabinfo 4/15/2011. (c) 2007 sgi/(c) 2011 Linux Foundation.
-/bin/ssh-copy-id: # Copyright (c) 1999-2016 Philip Hands <phil@hands.com>+/bin/sliceprint: # Copyright (c) 1996-1999 Markku Rossi 
 +/bin/soundstretch:     Copyright (c) Olli Parviainen 
 +/bin/soundstretch:    SoundStretch v%s -  Copyright (c) Olli Parviainen 
 +/bin/ssh-copy-id: # Copyright (c) 1999-2020 Philip Hands <phil@hands.com>
 /bin/strace: Copyright (c) 1991-%s The strace developers <%s>. /bin/strace: Copyright (c) 1991-%s The strace developers <%s>.
-/bin/strace-log-merge: # Copyright (c) 2012-2019 The strace developers. +/bin/strace-log-merge: # Copyright (c) 2012-2021 The strace developers. 
-/bin/systemd-analyze: hashmap_update(*uid_refs, UID_TO_PTR(uid), UINT32_TO_PTR(c)) >= 0 +/bin/tree: $Version: $ tree v1.8.0 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $
-/bin/tree: $Version: $ tree v1.7.0 (c) 1996 - 2014 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $+
 /bin/usb-devices: # Copyright (c) 2009 Greg Kroah-Hartman <greg@kroah.com> /bin/usb-devices: # Copyright (c) 2009 Greg Kroah-Hartman <greg@kroah.com>
 /bin/usb-devices: # Copyright (c) 2009 Randy Dunlap <rdunlap@xenotime.net> /bin/usb-devices: # Copyright (c) 2009 Randy Dunlap <rdunlap@xenotime.net>
 /bin/usb-devices: # Copyright (c) 2009 Frans Pop <elendil@planet.nl> /bin/usb-devices: # Copyright (c) 2009 Frans Pop <elendil@planet.nl>
-/bin/vdo: # Copyright (c) 2020 Red Hat, Inc. +/bin/vm-support: # Copyright (c) 2006-2022 VMware, Inc. All rights reserved
-/bin/vdo-by-devCopyright (c) 2020 Red Hat, Inc+/bin/wavpack:  Copyright (c) 1998 2020 David Bryant.  All Rights Reserved. 
-/bin/vdostatsCopyright (c) 2020 Red Hat, Inc+/bin/wvgain Copyright (c) 2005 - 2020 David Bryant.  All Rights Reserved
-/bin/zip: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.+/bin/wvtag Copyright (c) 2018 - 2020 David Bryant.  All Rights Reserved
 +/bin/wvunpack Copyright (c) 1998 2020 David Bryant.  All Rights Reserved. 
 +/bin/xgettext: UNICODE_VALUE (c) >= 0 && UNICODE_VALUE (c) < 0x110000
 /bin/zip: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license. /bin/zip: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license.
-/bin/zip:     bzip2 code and library copyright (c) Julian     (See the bzip2 license for t +/bin/zip: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved. 
-/bin/zipcloak: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.+/bin/zip:     bzip2 code and library copyright (c) Julian     (See the bzip2 license for t>
 /bin/zipcloak: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license. /bin/zipcloak: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license.
-/bin/zipnote: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.+/bin/zipcloak: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.
 /bin/zipnote: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license. /bin/zipnote: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license.
-/bin/zipsplit: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.+/bin/zipnote: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.
 /bin/zipsplit: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license. /bin/zipsplit: Copyright (c) 1990-2008 Info-ZIP - Type '%s "-L"' for software license.
 +/bin/zipsplit: Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.
 </code> </code>
  
Ligne 3071: Ligne 3278:
  
 <code> <code>
-[root@centos8 tmp]# comm /etc/passwd /root/passwd+[root@redhat9 tmp]# comm /etc/passwd /root/passwd
  root:x:0:0:root:/root:/bin/bash  root:x:0:0:root:/root:/bin/bash
  bin:x:1:1:bin:/bin:/sbin/nologin  bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3126: Ligne 3333:
  
 <code> <code>
-[root@centos8 tmp]# comm -12 /etc/passwd /root/passwd+[root@redhat9 tmp]# comm -12 /etc/passwd /root/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3167: Ligne 3374:
  
 <code> <code>
-[root@centos8 tmp]# head /etc/passwd+[root@redhat9 tmp]# head /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3183: Ligne 3390:
  
 <code> <code>
-[root@centos8 tmp]# head -n 15 /etc/passwd+[root@redhat9 tmp]# head -n 15 /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3204: Ligne 3411:
  
 <code> <code>
-[root@centos8 tmp]# head -c 150 /etc/passwd+[root@redhat9 tmp]# head -c 150 /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
 daemon:x:2:2:daemon:/sbin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin
 adm:x:3:4:adm:/var/adm:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin
-lp:x:4:7[root@centos8 tmp]# +lp:x:4:7[root@redhat9 tmp]# 
 </code> </code>
  
Ligne 3215: Ligne 3422:
  
 <code> <code>
-[root@centos8 tmp]# head -c -150 /etc/passwd+[root@redhat9 tmp]# head -c -150 /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3249: Ligne 3456:
 rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
 rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
-saslauth:x:988:76:Saslauthd us[root@centos8 tmp]# +saslauth:x:988:76:Saslauthd us[root@redhat9 tmp]# 
 </code> </code>
  
Ligne 3255: Ligne 3462:
  
 <code> <code>
-[root@centos8 tmp]# head -c 1b /etc/passwd+[root@redhat9 tmp]# head -c 1b /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3268: Ligne 3475:
 games:x:12:100:games:/usr/games:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin
 ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
-nobody:x:65534:65534:Kernel Overflow [root@centos8 tmp]# +nobody:x:65534:65534:Kernel Overflow [root@redhat9 tmp]# 
  
-[root@centos8 tmp]# head -c 512 /etc/passwd+[root@redhat9 tmp]# head -c 512 /etc/passwd
 root:x:0:0:root:/root:/bin/bash root:x:0:0:root:/root:/bin/bash
 bin:x:1:1:bin:/bin:/sbin/nologin bin:x:1:1:bin:/bin:/sbin/nologin
Ligne 3283: Ligne 3490:
 games:x:12:100:games:/usr/games:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin
 ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
-nobody:x:65534:65534:Kernel Overflow [root@centos8 tmp]# +nobody:x:65534:65534:Kernel Overflow [root@redhat9 tmp]# 
 </code> </code>
  
Ligne 3308: Ligne 3515:
  
 <code> <code>
-[root@centos8 tmp]# tail /etc/passwd+[root@redhat9 tmp]# tail /etc/passwd
 trainee:x:1000:1000:trainee:/home/trainee:/bin/bash trainee:x:1000:1000:trainee:/home/trainee:/bin/bash
 cockpit-wsinstance:x:991:987:User for cockpit-ws instances:/nonexisting:/sbin/nologin cockpit-wsinstance:x:991:987:User for cockpit-ws instances:/nonexisting:/sbin/nologin
Ligne 3324: Ligne 3531:
  
 <code> <code>
-root@centos8 tmp]# tail -n 15 /etc/passwd+root@redhat9 tmp]# tail -n 15 /etc/passwd
 sssd:x:994:990:User for sssd:/:/sbin/nologin sssd:x:994:990:User for sssd:/:/sbin/nologin
 setroubleshoot:x:993:989::/var/lib/setroubleshoot:/sbin/nologin setroubleshoot:x:993:989::/var/lib/setroubleshoot:/sbin/nologin
Ligne 3345: Ligne 3552:
  
 <code> <code>
-[root@centos8 tmp]# tail -c 150 /etc/passwd+[root@redhat9 tmp]# tail -c 150 /etc/passwd
 er:/run/saslauthd:/sbin/nologin er:/run/saslauthd:/sbin/nologin
 radvd:x:75:75:radvd user:/:/sbin/nologin radvd:x:75:75:radvd user:/:/sbin/nologin
Ligne 3354: Ligne 3561:
  
 <code> <code>
-[root@centos8 tmp]# tail -c +150 /etc/passwd+[root@redhat9 tmp]# tail -c +150 /etc/passwd
 7:lp:/var/spool/lpd:/sbin/nologin 7:lp:/var/spool/lpd:/sbin/nologin
 sync:x:5:0:sync:/sbin:/bin/sync sync:x:5:0:sync:/sbin:/bin/sync
Ligne 3392: Ligne 3599:
  
 <code> <code>
-[root@centos8 tmp]# tail -c 1b /etc/passwd+[root@redhat9 tmp]# tail -c 1b /etc/passwd
 nstances:/nonexisting:/sbin/nologin nstances:/nonexisting:/sbin/nologin
 rngd:x:990:986:Random Number Generator Daemon:/var/lib/rngd:/sbin/nologin rngd:x:990:986:Random Number Generator Daemon:/var/lib/rngd:/sbin/nologin
Ligne 3403: Ligne 3610:
 dnsmasq:x:983:983:Dnsmasq DHCP and DNS server:/var/lib/dnsmasq:/sbin/nologin dnsmasq:x:983:983:Dnsmasq DHCP and DNS server:/var/lib/dnsmasq:/sbin/nologin
  
-[root@centos8 tmp]# tail -c 512 /etc/passwd+[root@redhat9 tmp]# tail -c 512 /etc/passwd
 nstances:/nonexisting:/sbin/nologin nstances:/nonexisting:/sbin/nologin
 rngd:x:990:986:Random Number Generator Daemon:/var/lib/rngd:/sbin/nologin rngd:x:990:986:Random Number Generator Daemon:/var/lib/rngd:/sbin/nologin
Ligne 3429: Ligne 3636:
  
 <code> <code>
-[root@centos8 tmp]# tail -f /var/log/messages +[root@redhat9 tmp]# tail -f /var/log/messages 
-Apr 20 06:27:53 centos8 systemd[1]: Started dnf makecache+Sep 25 15:59:09 redhat9 systemd[1]: packagekit.service: Consumed 27.056s CPU time
-Apr 20 07:28:29 centos8 systemd[1]: Starting dnf makecache..+Sep 25 16:21:00 redhat9 systemd[1]: Started /usr/bin/systemctl start man-db-cache-update
-Apr 20 07:28:29 centos8 dnf[12423]: Metadata cache refreshed recently+Sep 25 16:21:00 redhat9 systemd[1]: Starting man-db-cache-update.service..
-Apr 20 07:28:29 centos8 systemd[1]: dnf-makecache.service: Succeeded+Sep 25 16:21:01 redhat9 systemd[1]: Starting PackageKit Daemon... 
-Apr 20 07:28:29 centos8 systemd[1]: Started dnf makecache+Sep 25 16:21:01 redhat9 systemd[1]: Started PackageKit Daemon
-Apr 20 07:50:35 centos8 systemd[1]: Started /usr/bin/systemctl start man-db-cache-update+Sep 25 16:21:01 redhat9 dbus-broker[743]: A security policy denied :1.25 to send method call /org/freedesktop/PackageKit:org.freedesktop.DBus.Properties.GetAll to :1.99
-Apr 20 07:50:35 centos8 systemd[1]: Starting man-db-cache-update.service..+Sep 25 16:21:04 redhat9 systemd[1]: man-db-cache-update.service: Deactivated successfully
-Apr 20 07:50:36 centos8 systemd[1]: man-db-cache-update.service: Succeeded+Sep 25 16:21:04 redhat9 systemd[1]: Finished man-db-cache-update.service. 
-Apr 20 07:50:36 centos8 systemd[1]: Started man-db-cache-update.service. +Sep 25 16:21:04 redhat9 systemd[1]: run-r92bee130695b430689098f98ad81e47d.service: Deactivated successfully
-Apr 20 07:50:36 centos8 systemd[1]: run-r85917a32bc86476980c271609ba457fb.service: Succeeded.+Sep 25 16:26:07 redhat9 systemd[1]: packagekit.service: Deactivated successfully.
 ^C ^C
 </code> </code>
Ligne 3452: Ligne 3659:
  
 <code> <code>
-[root@centos8 tmp]# ifconfig ens18+[root@redhat9 tmp]# ifconfig ens18
 ens18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500 ens18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
-        inet 10.0.2.45  netmask 255.255.255.0  broadcast 10.0.2.255 +        inet 10.0.2.101  netmask 255.255.255.0  broadcast 10.0.2.255 
-        inet6 fe80::86b6:8d39:cab2:d84d  prefixlen 64  scopeid 0x20<link> +        inet6 fe80::9086:d7ff:fe66:e75a  prefixlen 64  scopeid 0x20<link> 
-        ether 4e:b1:31:bd:5d:b2  txqueuelen 1000  (Ethernet) +        ether 92:86:d7:66:e7:5a  txqueuelen 1000  (Ethernet) 
-        RX packets 11473  bytes 24023891 (22.9 MiB)+        RX packets 63639  bytes 160337691 (152.9 MiB)
         RX errors 0  dropped 0  overruns 0  frame 0         RX errors 0  dropped 0  overruns 0  frame 0
-        TX packets 9521  bytes 1744650 (1.MiB)+        TX packets 52302  bytes 7554310 (7.MiB)
         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 ens18 | grep "inet" +[root@redhat9 tmp]# ifconfig ens18 | grep "inet" 
-        inet 10.0.2.45  netmask 255.255.255.0  broadcast 10.0.2.255 +        inet 10.0.2.101  netmask 255.255.255.0  broadcast 10.0.2.255 
-        inet6 fe80::86b6:8d39:cab2:d84d  prefixlen 64  scopeid 0x20<link>+        inet6 fe80::9086:d7ff:fe66:e75a  prefixlen 64  scopeid 0x20<link>
  
-[root@centos8 tmp]# ifconfig ens18 | grep "inet" | grep -v "inet6" +[root@redhat9 tmp]# ifconfig ens18 | grep "inet" | grep -v "inet6" 
-        inet 10.0.2.45  netmask 255.255.255.0  broadcast 10.0.2.255+        inet 10.0.2.101  netmask 255.255.255.0  broadcast 10.0.2.255
  
-[root@centos8 tmp]# ifconfig ens18 | grep "inet" | grep -v "inet6" | tr -s " " ":" +[root@redhat9 tmp]# ifconfig ens18 | grep "inet" | grep -v "inet6" | tr -s " " ":" 
-:inet:10.0.2.45:netmask:255.255.255.0:broadcast:10.0.2.255+:inet:10.0.2.101:netmask:255.255.255.0:broadcast:10.0.2.255
  
-[root@centos8 tmp]# ifconfig ens18 | grep "inet" | grep -v "inet6" | tr -s " " ":" | cut -d: -f3 +[root@redhat9 tmp]# ifconfig ens18 | grep "inet" | grep -v "inet6" | tr -s " " ":" | cut -d: -f3 
-10.0.2.45+10.0.2.101
 </code> </code>
  
Ligne 3483: Ligne 3690:
  
 <code> <code>
-[root@centos8 tmp]# ip addr show ens18+[root@redhat9 tmp]# ip addr show ens18
 2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
-    link/ether 4e:b1:31:bd:5d:b2 brd ff:ff:ff:ff:ff:ff +    link/ether 92:86:d7:66:e7:5a brd ff:ff:ff:ff:ff:ff 
-    inet 10.0.2.45/24 brd 10.0.2.255 scope global noprefixroute ens18+    altname enp0s18 
 +    inet 10.0.2.101/24 brd 10.0.2.255 scope global noprefixroute ens18
        valid_lft forever preferred_lft forever        valid_lft forever preferred_lft forever
-    inet6 fe80::86b6:8d39:cab2:d84d/64 scope link noprefixroute +    inet6 fe80::9086:d7ff:fe66:e75a/64 scope link noprefixroute 
        valid_lft forever preferred_lft forever        valid_lft forever preferred_lft forever
  
-[root@centos8 tmp]# ip addr show ens18 | grep "inet" +[root@redhat9 tmp]# ip addr show ens18 | grep "inet" 
-    inet 10.0.2.45/24 brd 10.0.2.255 scope global noprefixroute ens18 +    inet 10.0.2.101/24 brd 10.0.2.255 scope global noprefixroute ens18 
-    inet6 fe80::86b6:8d39:cab2:d84d/64 scope link noprefixroute +    inet6 fe80::9086:d7ff:fe66:e75a/64 scope link noprefixroute 
  
-[root@centos8 tmp]# ip addr show ens18 | grep "inet" | grep -v "inet6" +[root@redhat9 tmp]# ip addr show ens18 | grep "inet" | grep -v "inet6" 
-    inet 10.0.2.45/24 brd 10.0.2.255 scope global noprefixroute ens18+    inet 10.0.2.101/24 brd 10.0.2.255 scope global noprefixroute ens18
  
-[root@centos8 tmp]# ip addr show ens18 | grep "inet" | grep -v "inet6" | awk '{ print $2; }' +[root@redhat9 tmp]# ip addr show ens18 | grep "inet" | grep -v "inet6" | awk '{ print $2; }' 
-10.0.2.45/24+10.0.2.101/24
  
-[root@centos8 tmp]# ip addr show ens18 | grep "inet" | grep -v "inet6" | awk '{ print $2; }' | sed 's/\/.*$//' +[root@redhat9 tmp]# ip addr show ens18 | grep "inet" | grep -v "inet6" | awk '{ print $2; }' | sed 's/\/.*$//' 
-10.0.2.45+10.0.2.101
 </code> </code>
  
 ----- -----
 Copyright © 2024 Hugh Norris. Copyright © 2024 Hugh Norris.
Menu