SyntaxFix
Write A Post
Hire A Developer
Questions
Easiest solution
Single line command for killing multiple ports:
kill $(lsof -t -i:8005,8080,8009) // 8005, 8080 and 8009 are the ports to be freed.