

1·
1 day agoThe thing with killall is I can’t see what it’s going to do first. With the greps, I can look first, kill second.


The thing with killall is I can’t see what it’s going to do first. With the greps, I can look first, kill second.


I use awk instead of cut cause I can remember the syntax better.
ps aux | grep zoom | grep -v grep | awk ‘{print $2}’ | xargs kill -9
grep is everywhere, pgrep is not