Internet Explorer 6 on Linux Cleanup Script

Written by James McDonald

July 3, 2009

This is a quick and dirty hack I use to kill the zombie processes left after running an ies4linux install of Internet Explorer 6.

#!/bin/sh
ps -ef | grep wineserver | awk '{ print $2 }' | xargs kill -9
ps -ef | grep explorer.exe | awk '{ print $2 }' | xargs kill -9 
ps -ef | grep ie6 | awk '{ print $2 }'| xargs kill -9

Unfortunately this script does try to kill some of it’s own processes but not before doing the job.

If you can think of a better way I’d be interested in hearing it.

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...