LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-02-2004, 07:04 PM   #1
jisoo23
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora Core 1
Posts: 5

Rep: Reputation: 0
Post Port List?


Hello all,

Does anyone know if there's a command that prints out the currently used ports in the system? By that I mean ports like '80' for the webserver, etc.

Thanks,
Jisoo23
 
Old 04-02-2004, 07:15 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Welcome to LQ!

Try man netstat for information on the netstat command.


Håkan

Last edited by hw-tph; 04-02-2004 at 07:16 PM.
 
Old 04-03-2004, 03:54 AM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
nmap?
 
Old 04-03-2004, 08:21 AM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
If you've got perl installed

socklist
 
Old 04-03-2004, 03:29 PM   #5
Peeyush Maurya
Member
 
Registered: Apr 2004
Location: Delhi, India
Distribution: Red Hat , WhiteBox
Posts: 31

Rep: Reputation: 15
nmap -sS 1.2.3.4
where 1.2.3.4 is ur IP

netstat -an :: to see which ports r listening to which service

more /etc/services
http://geocities.com/peeyush_maurya/...pplication.htm
http://geocities.com/peeyush_maurya/ports-trojan.htm
 
  


Reply



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
get list of latest list of packages bobwall Linux - Distributions 1 11-30-2004 03:48 PM
wireless channel list different from router's list heluani Linux - Laptop and Netbook 1 08-29-2004 10:04 PM
Inserting element to a list of list in C suwandy_chandra Programming 2 03-09-2004 03:08 AM
analyze the port list-----help!!!!! Cyrus Linux - Security 11 03-03-2004 01:13 PM
Current List of Port Trojans robeb Linux - Security 1 02-14-2003 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration