On Wed, 13 Nov 2002, David Laight wrote: > ps -ax -opid,command | while read pid command args > do > [ "$command" = whateverprogram ] && kill $pid > done Which is like the _find_processes() function in /etc/rc.subr. Jeremy C. Reed http://bsd.reedmedia.net/