Find and kill a process in one line using bash and regex
How can I extract the process id automatically and kill it in the same line?
Details on its workings are as follows:
and you can see it terminating all the sleepers.
When you do
In other words, it's looking for
When I was shown this (by someone here on SO), I immediately started using it because