#!/bin/bash # Thanks to Clint for his "fantastic" process killing script logic # run as user that owns the zaombied monodevelop processes echo cleaning up from crashed MonoDevelop... please wait. ps auxwww | egrep '(MonoDevelop.exe|mdhost.exe)' | grep -v grep | awk '{ print $2 }' | xargs kill -9 rm -fr ~/.config/MonoDevelop echo Done!