Just as the title says, Google gives me nothing and I can't test it on this server.
The command as is follows:
tail -f <file> | fgrep --line-buffered "string" | sed -u 's/stuff//g' >> output.log
Do I need to use kill -SIGTERM <PID>
or kill -SIGKILL <PID>
to stop a tail -f
?