Linux - Tail command update at specified interval, Tail a file at one line per second

Tail command update at specified interval

tail -fs 1 somefile

The -s option allows you to specify the update interval

tail -f somefile | while read line ; 
 do echo $line ; sleep 1; done

Tail a file at one line per second. The sleep value 1 in this case controls the update speed of tail -f.


The topic on Linux - Tail command update at specified interval is posted by - Math

Hope you have enjoyed, Linux - Tail command update at specified intervalThanks for your time

Tech Bluff