2 ms·netstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!by ventana 2mo agonetstat and/or lsof will normally take care of that, but sure, everyone makes their own tools these days!cnord 2mo agowhat's the go-to command from your shell history to do that with netstat? :)ventana 2mo agoOn Linux, that would be netstat -lpn (from my memory, not from the shell history) :) On Mac, netstat won't show the pids, so it would be lsof.