Shell Tricks: Check what's listening on a port

from blog BrettTerpstra.com - The Mad Science of Brett Terpstra, | ↗ original
It’s been a while since I offered a shell trick, so here’s one I’ve found useful lately. It’s a way to quickly check what’s listening on a specific port. There are times when I run into a conflict running local services, saying the port is already in use, but I don’t know by what. So I use the following. This snippet relies on having your root...