mac terminal kill process code example
Example 1: kill port mac terminal
sudo lsof -i <Port>
sudo kill -9 <PID>
Example 2: linux kill process
kill -9 3827
kill -9 3919
kill -9 10764
kill -9 11679
Example 3: kill process macos
Click on top left menu -> Macos (Apple) -> force quit