[PLUG] IMAP client

J Black plug201 at jblack.org
Thu Jan 22 20:20:03 UTC 2004


On Thu, 2004-01-22 at 15:18, Scott Van Hoosen wrote:
...
> Also, what is a quick way to kill all processes that contain the word
> "evolution" such as "evolution-mail," "evolution-calen," etc.?
> 

$ evolution --force-shutdown
gets a lot of them.  Worked on my own processes, at least... don't know
about others.

if you really want to kill them all, try one of these:
$ ps -ef | grep evolution | grep -v grep
# ps -ef | grep -e 'evolut[i]on'
to see if these are the ones you don't like.  (In the 2nd form, the
square brackets are a trick to "not see" the process that has is doing
the grep-ing. The brackets can be on any character in the word.)
then add awk to get just the process id's and then add kill to kill
those processes as follows:
$ kill -9 `ps -ef | grep -e 'evolut[i]on' | awk '{print $2}' `

Hope this helps, and that nobody is editing a term paper on evolution at
the time.

- Jesse





More information about the PLUG mailing list