On Fri, Oct 27, 2000 at 12:18:11PM -0700, Carson, Chuck wrote:
| Just check netstat to see if anything is listening on that port.
| 
| netstat -a | grep LISTEN | more
| 
| If a listening process is defined in /etc/services, the service name will
| appear instead of the port number in the netstat output. So first check
| /etc/services for anything on 8000, then check netstat.

Or just use the -n flag:

        netstat -an | grep 8000

This is my habit. Saves that ambiguity with /etc/services, and also is much
faster because otherwise netstat will try to find hostnames for all the
IP numbers, which can take a while.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

A motorcycle is like a toothbrush.  Everyone should have their own.
        - [EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to