Corrigé 10.5 head, tail

1.

[tux]$ head -5 /etc/passwd     
root:x:0:0:root:/root:/bin/bash 
bin:x:1:1:bin:/bin:/sbin/nologin 
daemon:x:2:2:daemon:/sbin:/sbin/nologin 
adm:x:3:4:adm:/var/adm:/sbin/nologin 
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin 

2.

[tux]$ tail -7 /etc/protocols 
sps     130     SPS             # Secure Packet Shield 
pipe    131     PIPE            # Private IP Encapsulation within IP 
sctp    132     SCTP            # Stream Control Transmission Protocol 
fc      133     FC              # Fibre Channel 
# rsvp-e2e-ignore       134     RSVP-E2E-IGNORE 
#       134-254                 # Unassigned 
#       255                     # Reserved 

3.

[tux]$ ls -l 
total 11540 
drwxrwxr-x  2 tux tux     4096 jun 21 06:05 bin 
-rw-rw-r--  1 tux tux     1326 jun 21 06:27 bin.tgz 
drwxrwxr-x  5 tux tux     4096 jun 19 20:38 chapitre4 
drwxrwxr-x  4 tux tux     4096 jan  1  1970 chapitre4g 
drwxrwxr-x  5 tux tux     4096 jun 29 01:41 chapitre6 
drwxrwxr-x  5 tux tux     4096 jan  1  1970 chapitre6g ...
couv_TP4BLIN.png

Découvrez 

le livre :

Aussi inclus dans nos :

Précédent
Corrigé 10.4 sort
Suivant
Corrigé 10.6 Pour aller plus loin