1 2 3 4 5
msg "Sending TERM signal to processes..." pkill --inverse -s0,1 -TERM sleep 1 msg "Sending KILL signal to processes..." pkill --inverse -s0,1 -KILL