Created
June 9, 2015 17:23
-
-
Save de314/118589284ae51580aba0 to your computer and use it in GitHub Desktop.
Kill process using grep
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 | |
kill $(ps aux | grep community.yml | awk '{print $2}') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment