Digital Marketing

Find and kill processes on Linux

The following example gets those processes of intertest and passes them to be killed:


sudo ps aux | grep some-thing-to-be-killed | sed 's/\s\+/ /g' | cut -d ' ' -f2 |  xargs sudo kill -9


Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership