Re: list port are listen
Quoting Michael Schurter [EMAIL PROTECTED]: pedro lopez wrote: how i do? i need see what services are runing, how i can see de port listen on may systen? and new on linux. netstat is the command you're looking for. Check out netstat -h for a list of options. netstat -l or netstat -lt are probably what you're most interested in. If you prefer numeric port numbers to service names, add a --numeric-ports to the end. Also, the ps aux command is commonly used to list running programs. It won't give you network information, but very useful none the less. Michael Schurter I personally like `netstat -anput`, which lists numeric addresses and port numbers for all programs listening on TCP or UDP ports, along with the program/PID for each entry. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: list port are listen
On Tuesday 28 March 2006 09:08, Roberto C. Sanchez wrote: Quoting Michael Schurter [EMAIL PROTECTED]: pedro lopez wrote: how i do? i need see what services are runing, how i can see de port listen on may systen? and new on linux. netstat is the command you're looking for. Check out netstat -h for a list of options. netstat -l or netstat -lt are probably what you're most interested in. If you prefer numeric port numbers to service names, add a --numeric-ports to the end. Also, the ps aux command is commonly used to list running programs. It won't give you network information, but very useful none the less. Michael Schurter I personally like `netstat -anput`, which lists numeric addresses and port numbers for all programs listening on TCP or UDP ports, along with the program/PID for each entry. You must have a different version of netstat than I. Here it takes the curser to the top left of the screen and hangs for at least 2 minutes, at which point I ctl-c'd it, which broke it normaly. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: list port are listen
Quoting Gene Heskett [EMAIL PROTECTED]: You must have a different version of netstat than I. Here it takes the curser to the top left of the screen and hangs for at least 2 minutes, at which point I ctl-c'd it, which broke it normaly. $ netstat --version net-tools 1.60 netstat 1.42 (2001-04-15) Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang and others+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 -- Roberto C. Sanchez http://familiasanchez.net/~roberto -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: list port are listen
On Tuesday 28 March 2006 12:04, Roberto C. Sanchez wrote: Quoting Gene Heskett [EMAIL PROTECTED]: You must have a different version of netstat than I. Here it takes the curser to the top left of the screen and hangs for at least 2 minutes, at which point I ctl-c'd it, which broke it normaly. $ netstat --version net-tools 1.60 netstat 1.42 (2001-04-15) Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang and others+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_MASQUERADE +I18N AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB +EUI64 Humm, I wonder if I've found something that kernel-2.6.16 has broken, I have (FC2 system): [EMAIL PROTECTED] root]# rpm -q net-tools net-tools-1.60-25.1 And any execution does as described, including a --version as the only option. I'll take this to lkml. Thanks Roberto. -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: list port are listen
Roberto C. Sanchez [EMAIL PROTECTED] writes: I personally like `netstat -anput`, which lists numeric addresses and port numbers for all programs listening on TCP or UDP ports, along with the program/PID for each entry. Thanks for the tip! I've always wondered how to display the program. I missed the -p on reading the man page (or it was added since I've read the man page). -- Bill Wohler [EMAIL PROTECTED] http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]