How can i know whether my system is listening on a particular port and what application is using that port.
I would like to know any commands that i can issue to find this out on my system.
Am using Fedora 23 and Linux Mint 17.3 if system specification is required.
For system specification use dmidecode it will gives you the handy info about your system like hardware details, serial numbers and BIOS version, Processor etc
$netstat -taln | grep LISTEN
for listing port.
LISTEN: The socket is listening for incoming connections. Such sockets are not included in the output unless you specify the --listening (-l) or --all (-a) option.
$netstat -taln | grep ESTABLISHED
for ESTABLISHED port
ESTABLISHED: The socket has an established connection