kill $(lsof -ti:3000) #3000 is the port to be freed Kill multiple ports with single line command: kill $(lsof -ti:3000,3001) #here multiple ports 3000 and 3001 are the ports to be freed lsof -ti:3000 . 82500 (Process ID/PID) lsof -ti:3001 . 82499. lsof -ti:3001,3000. 82499 82500. kill $(lsof -ti:3001,3000)

Jun 07, 2018 How to track and kill processes on your Mac Nov 28, 2019 Force Quit Mac Applications With the Keyboard

How to Force Quit Applications on Your Mac When They’re

Nov 28, 2019 Force Quit Mac Applications With the Keyboard

Sep 18, 2014 · In addition to this, for those who like to delve a little deeper into the Terminal, you can first find the process ID (PID) of the running application and then use the standard “kill” command to force-quit it.