I want to run this command in Ubuntu:
tcp 0 0 0.0.0.0:50010 0.0.0.0:* LISTEN <pid>/java
tcp is not recognized in Ubuntu. What could be an alternative for this?
I think you can find solution using this guide.
Listing all the LISTENING Ports of TCP and UDP connections
Listing all ports (both TCP and UDP) using
netstat -a option.
Listing TCP Ports connections
Listing only TCP (Transmission Control Protocol) port connections using