How to see open ports inLinux?

16 Jul 2014
Type this netstat command in terminal.

netstat -tulpn

Or you can use this one.

netstat -l

Try netstat --help to go through other options also...