Pregunta

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.

¿Fue útil?

Solución 2

Try

 program -flag1 -flag2 argument | tail

Otros consejos

Use a pipe:

program -flag1 -flag2 argument | tail

Any time you want to feed the output of one program to the input of another program, you use a pipeline:

program1 | program2
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top