2 ms·
I find myself using lsof for it's ability to show me what TCP sockets are in use more than what actual files are open. lsof | grep TCP
by smhenderson 10y ago
I find myself using lsof for it's ability to show me what TCP sockets are in use more than what actual files are open.
lsof | grep TCP
- Terr_ 10y agoFor that I often use: netstat --ip -a -p Those particular options mean to show just IP ports (UDP/TCP), in all statuses (active, listening) and to display the local process which is involved.