This is all good stuff. All I knew before this was ping -b 192.168.1.255 But windows machines don't seem to respond to broadcast pings, rendering it a bit useless.
On Fri, 16 Jun 2006 10:16:52 +1200 Craig FALCONER wrote: > Yes that's an even better solution... And its faster too > > > -----Original Message----- > From: Jim Cheetham [mailto:[EMAIL PROTECTED] > Sent: Friday, 16 June 2006 9:38 a.m. > To: [email protected] > Subject: Re: Network tip - Scripting with ping > > > On Fri, Jun 16, 2006 at 08:52:14AM +1200, Craig FALCONER wrote: > > Laziness... "find all laptops which are powered and connected to the > > net so I can VNC to them for testing rather than having to walk around > > the place and find likely canditates" > > Untested, but would this help? > $ sudo nmap -sP -PA5800,5900 192.168.1.0/24 -- Nick Rout <[EMAIL PROTECTED]>
