this post was submitted on 16 Dec 2025
39 points (93.3% liked)
Linux
10668 readers
346 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
You can get rid of those
greps, btw:Or just use
pgrep.grep is everywhere, pgrep is not
The greps were much more legible that this concoction 😅
But I second the use of pgrep. 👌
Better yet, just
killall zoom.May I interest you in the command
killall? 😁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.
True, then I would personally run
pgrepfirst, thenkillall. 😊