On Thu, Jun 17, 2010 at 6:07 PM, Shrinivasan T wrote:
> If you are on a LAN and wish to find out which computers in it
> currently have access to that certain LAN,
> you can use the following command:
>
> for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq
> 0 ] && echo “192.168
2010/6/17 சிவகுமார் மா
>
> Another way is to use nmap
>
> nmap 192.168.1.0-255
>
nmap package is pretty heavy. The first script with no dependencies is
probably the best way(out of the box).
--
Regards
Varrun Ramani
___
ILUGC Mailing List:
http://www.
2010/6/17 Shrinivasan T :
> If you are on a LAN and wish to find out which computers in it
> currently have access to that certain LAN,
> you can use the following command:
>
> for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq
> 0 ] && echo “192.168.1.$ip UP” || : ; done
>
> Th
If you are on a LAN and wish to find out which computers in it
currently have access to that certain LAN,
you can use the following command:
for ip in $(seq 1 254); do ping -c 1 192.168.1.$ip>/dev/null; [ $? -eq
0 ] && echo “192.168.1.$ip UP” || : ; done
This will ping each computer on the 192.16