[Fwd: Re: [lug] port in use]
Hugh Brown
hugh at vecna.com
Wed Jun 26 10:12:48 MDT 2002
I'm getting closer.
It turns out that you can use redirects to /dev/tcp/host/port to open a
socket to that port
The problem I have now is how to tell bash just try to open it but don't read or write to it.
Hugh
> > >What's a portable way to find out if a port is in use from a shell
> > >script?
> > >
> > >The output from netstat on solaris and linux is fairly different.
> > >
> > >Hugh
More information about the LUG
mailing list