dimanche 18 août 2013

Quick linux trick to kill processes

One of the annoying sides of linux is killing processes.
Skype ocasionally hangs up on linux.

So to kill the process easily, I do:

 kill -9 `ps cax | grep -i skype | awk '{print $1}' | head -n1`

Its much better than looking for PID of the process each time :)

2 commentaires: