Thursday, February 24, 2011

Making Life Easy With Pgrep & Pkill

When I was a young Unix wannabe and whenever I would need to kill a process I would go through this rigmarole.

  • Look up the process id with ps -elf | grep
  • Kill the process with kill
Nowadays on Fedora I do the same thing except that you know have to send kill the signal, which for my purposes is usually 9.

Now instead of doing all of that I simply type


This is cleaner since it shows all the app's process ids and I do not need to filter.

No comments: