Skip to content

Unix Command Cheatsheet

Daisho Komiyama edited this page Jan 19, 2020 · 5 revisions

List Active Localhost Port

sudo lsof -i -P -n | grep LISTEN

Kill a Process Running on Particular Port (e.g. 8080)

kill -9 $(sudo lsof -t -i:8080)

Clone this wiki locally