Customize the kill script under Linux. The main process name is required

From , 4 Years ago, written in PowerShell, viewed 55 times.
URL https://pastebin.vip/view/955d864a
  1. #!/bin/bash
  2.  
  3. for i in $( ps -A | grep $1 | awk '{ print $1 }' )
  4. do
  5.         echo "kill process *$1* , id: $i "
  6.         kill -9 $i
  7. done

Reply to "Customize the kill script under Linux. The main process name is required"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website