Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-28-2010, 07:43 AM   #1
Registered: Mar 2010
Location: Bei Jing
Posts: 41

Rep: Reputation: 15
What UNIX command do you use to find out the open ports?

What UNIX command do you use to find out the open ports in a system?

Old 05-28-2010, 07:46 AM   #2
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,661
Blog Entries: 1

Rep: Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080
You could use (as root):
nmap -sS IP-address
nmap -sS
or a range of addresses:
nmap -sS


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux/Unix Command to find RAM size? ssnkumar Linux - General 9 09-09-2009 09:38 AM
How can find out what ports are open in my system linuxlainen Linux - Security 10 08-03-2006 04:05 PM
LXer: Advanced techniques for using the UNIX find command LXer Syndicated Linux News 0 05-04-2006 04:21 AM
Command for checking open ports? Snipersnest Linux - Security 8 02-17-2005 07:58 AM
Find open ports and close them geodo Linux - Newbie 7 11-18-2004 09:33 PM

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration