Tips tagged kill


1

Tip #262   Kill matching processes without unnecessary greps and extra sh p

ps -eo pid,args | awk '/sleep/ && !/awk/{ system("kill -9 "$1)}' Read more »