Good morning, What is the command to produce a list of all port that are enabled and listening. Thanks Paul Frankfurter <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2920.0" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Good morning,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>What is the command to produce a list of all port that are enabled and listening.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thanks</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Paul Frankfurter</FONT></DIV> <DIV> </DIV></BODY>
ports - TCP ports are in use by what process lsof -i tcp ports - UDP ports are in use by what process lsof -i udp ports - what processes are running cat /etc/services | more ports - which ones are open netstat -a Hope this is what your looking for... jrh -----Original Message----- From: Paul Frankfurter [mailto:bun@pshift.com] Sent: Thursday, April 27, 2000 8:59 AM To: SuSE Linux List Subject: [SLE] list of listening ports? Good morning, What is the command to produce a list of all port that are enabled and listening. Thanks Paul Frankfurter -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
netstat -al That's the easiest one there is. :) Although this produces some stuff that'll probably look foreign to you, like UNIX domain sockets. netstat -tul This will show you TCP and UDP ports, probably what you're looking for. Cheers, kw /* ** Keith Warno ** Developer & Sys Admin ** http://www.HaggleWare.com/ */ ----- Original Message ----- From: Paul Frankfurter To: SuSE Linux List Sent: 27 April 2000, Thursday 09:59 Subject: [SLE] list of listening ports? Good morning, What is the command to produce a list of all port that are enabled and listening. Thanks Paul Frankfurter -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
bun@pshift.com
-
jhoepner@tvsw.org
-
keith@HaggleWare.com