Search code examples
linuxunixtail

Is there a way to output the tail on the fly?


I was wondering if there was a way to run something like this ?

tail program -flag1 -flag2 agrument 

I know this isn't correct but I essentially want to do what this would intuitively do if it worked. The idea is to display the "tail" of the output of the program on the fly, without going through a the file system.


Solution

  • Try

     program -flag1 -flag2 argument | tail