70-pkill.sh (148B)
1 msg "Sending TERM signal to processes..." 2 pkill --inverse -s0,1 -TERM 3 sleep 1 4 msg "Sending KILL signal to processes..." 5 pkill --inverse -s0,1 -KILL