The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 02-03-2008
Lakris Lakris is offline
Registered User
 

Join Date: Oct 2007
Posts: 204
Have You tried killall instead of kill?

Code:
ps -f U username|grep programName | awk '{print $9}' | xargs killall
Reply With Quote