make tail -f exit on a broken pipe
131196
How to exit early on pipe close?
78871
How to automatically restart a service on failure in Linux
149765
Change the Ubuntu program that runs when a command can't be found
142684
Generic exit function for iTerm2
7293
How to do a `tail -f` of log rotated files?
143255
tail -f, but when the file is deleted and re-created (not appended)
147812
Most efficient method to break Ubuntu
5866
How to terminate a script?
21270
How do I write a bash script to restart a process if it dies?
28288
How do I kill background processes / jobs when my shell script exits?
97489
How can I time a pipe?
30691
tail -f equivalent for MySQL logging database
29959
Why does ( exit 1 ) not exit the script?
54180
Can popen() make bidirectional pipes like pipe() + fork()?
133949
Pipe only STDERR through a filter
66252
A Windows equivalent of the Unix tail command
153906
Setting shell's control break statement in the standard input stream "EOD" to exit the COBOL program