On Wed, 2004-02-18 at 23:46, Eric Wood wrote: > BT_PID=`ps -ef | grep btdownload | grep -v grep | awk '{print $2}'` > kill $BT_PID > /dev/null 2>&1 Couldn't this be more easily done with - pkill btdownload[1] [1] use the name of the actual process... -- Kuramarujo - http://www.webtrek.com/~klemmerj/sumo.html