Thursday, March 5, 2009

Knowing What Ports Are Open on Linux?

On Linux, it is easy to know what ports are open. You just need to use the program "nmap". If you don't have it on your system, download and install it using the command:

#apt-get install nmap

on your Ubuntu or using the yum for Fedora/RedHat/CentOS as follows:

#yum install nmap


Once installed, issue the command:

#nmap localhost

to know which ports are open in your computer.

No comments: