Digital Marketing

Find and kill processes on Linux

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

Example:


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

Comments

Popular posts from this blog

Make online money from the Internet