Created
September 27, 2016 12:46
-
-
Save kevin39/4c9b62c8fb7ae2c9391a117702a8b4d8 to your computer and use it in GitHub Desktop.
Kill processed by argument
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
$ sleep 30& sleep 60& | |
[1] 8007 | |
[2] 8008 | |
$ pkill -f 'sleep 30' | |
[1] - terminated sleep 30 | |
$ pgrep sleep | |
8008 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment