0

How can I kill the tail process after having found special command

tail -f filename | grep -m1 " special string" | tee txtfile

After founding the "special string" the tail function needs to be killed to execute the rest of the program.

0 Answers0