I needed to kill something running in ubuntu. saw many processes. the key programs used is ps, grep, and kill.
kill -9 `ps -ef|grep -v "grep"|grep "somesearchstring"|awk ' { print $2 } '`
I needed to kill something running in ubuntu. saw many processes. the key programs used is ps, grep, and kill.
kill -9 `ps -ef|grep -v "grep"|grep "somesearchstring"|awk ' { print $2 } '`
Copyright © 2024 | WordPress Theme by MH Themes