Created
February 11, 2017 05:22
-
-
Save tywkeene/952c620826a6d87fe4fdf1f83d3b3f91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Ruthlessly slaughters a process by process name | |
function slaughter(){ | |
kill -9 $(pgrep $1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment