2022 m. rugsėjo 21 d., trečiadienis

kill process with one bash comand

 $ ps aux | grep [e]proces_name.conf | awk {'print $2'} | xargs kill -9


Clone multiple processes


for pid in $(ps aux | grep "[s]start.conf" | awk '{print $2}'); do kill $pid; done