On Wed, 4 Jun 2003, Ben Lutgens wrote:

> You can port scan the box. Then when you see a port open if you can't 
> identify it you can use fuser
> 
> fuser -n tcp $PORTNUM
> 
> this will give u the PID of the process which can then be easily 
> looked up with ps ax | grep $PID.

why not make this only one command:

fuser -v -n tcp $PORTNUM

-v is verbose and gives you process names...

Munir Nassar


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list