블로그 (Blog)/개발로그 (Devlogs)

이름으로 프로세스 ID 찾아 죽이기

티클러 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
저작자표시 비영리 변경금지 (새창열림)