I want to find all active external ports. For instance if I want to see if DB2 and WMQ are active I would want to know if anyone is listening on 50000 or 1414 (unless otherwise configured)
What Linux command can I use to see all active ports used externally