pumaのプロセスキル
kill -9 $(ps axu | grep '[p]uma' | awk '{print $2}') ※grepの引数を’[p]uma’にすることでgrepのプロセスを表示させない
Find and kill a process in one line using bash and regex - Stack Overflow
This post is licensed under CC BY 4.0 by the author.
kill -9 $(ps axu | grep '[p]uma' | awk '{print $2}') ※grepの引数を’[p]uma’にすることでgrepのプロセスを表示させない
Find and kill a process in one line using bash and regex - Stack Overflow