Try
program -flag1 -flag2 argument | tail
문제
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.
해결책 2
Try
program -flag1 -flag2 argument | tail
다른 팁
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