 head     ,      
     ,   ,  .   -
   ,    head ,   -
  . ,      
 months:

$ head -I months



 head     ,   ,    -
.     man-  head.

tail:   

 tail ("")  head (""),     
  .      ,  tail 
   ,   ,     
  ,    ,   ,   -
 .             -
 months,   . 5.5:

$ tail -5 months







         
  .         log file 
 

$ tail -f logfile

   tail        -
 ( <CONTROL+C>).     man-
 tail.

sort:   

 sort    ,     . 
  days,        , 
sort      (. 5.6). 

 sort    .  -  
,      ( ).  -  -
 .     man-  sort.

 5.  Linux 161