Trang chủ / Bash Kill multiple processes – one line command Đăng 17/03/2021 1 phút đọc Bash > for pid in $(ps -aux | grep 'java' | awk {'print $2'}); do sudo kill -9 $pid; done What’s your Reaction? +1 0 +1 0 +1 0 Facebook Twitter Email