bash - Is there a shell command that will kill all background tail processes - Stack Overflow
You can refer to background jobs in your current shell with the %1, %2, ... idioms.
To my knowledge there's no such thing as a catch all; there's no %* or an equivalent.
But you could shortcut with
kill %1 %2 %3 %4 %5 %6 %7 %8 Which would kill the first eight background processes still running in your current shell. That may or may not be a tail.
Read full article from bash - Is there a shell command that will kill all background tail processes - Stack Overflow
No comments:
Post a Comment