LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-28-2010, 07:43 AM   #1
ayongying
Member
 
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?

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

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
You could use (as root):
nmap -sS IP-address
Code:
nmap -sS 192.168.1.45
or a range of addresses:
Code:
nmap -sS 192.168.1.1-254
 
  


Reply


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 07:36 PM.

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