Advertisement
metalx1000

kill all processed passed to this script

Nov 22nd, 2015
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. #!/bin/bash
  2. #kill all processed passed to this script.
  3.  
  4. for var in "$@"
  5. do
  6.     killall "$var"
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement