The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: kill
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-13-2008
Annihilannic Annihilannic is offline
Registered User
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 445
Depending on the OS, you may be able to use pkill abc.

Otherwise, try ps -ef | awk '/[a]bc/ { print $2 }' | xargs kill.
Reply With Quote