Last active
March 1, 2020 20:14
-
-
Save itomg/ddb195272ba64b40a3ac to your computer and use it in GitHub Desktop.
ps grep awk xargs kill
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
ps aux|grep cron-14|awk '{print $2}'|xargs echo | |
ps aux|grep cron-14|awk '{print $2}'|xargs kill | |
ps aux|grep cron-14|awk '{print $2}'|xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment