Mac OS 포트번호로 프로세스 죽이기 one line

BOKS·2022년 12월 27일
0
lsof -nti:{port} | xargs kill -9

위 명령어에서 {port} 값만 수정하면 된다.

profile
Kotlin, Springboot 2 백엔드 개발자

0개의 댓글