블로그 (Blog)/개발로그 (Devlogs)
이름으로 프로세스 ID 찾아 죽이기
ihmin
2024. 3. 15. 10:42
% ps aux | grep -i firefox | awk {'print $2'}
14889
14890
% ps aux | grep -i firefox | awk {'print $2'} | xargs kill -9
% pgrep -u root java
14889
14890