ps -ef | grep something | awk '{print }' | xargs -i kill {}
Grepping for a list of processes and then e.g. killing them
If you e.g. want to kill a list of processes you can all grep but are too lazy to type all the pids. Or e.g. as part of a service script on a server:
Related Posts :
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.