Re: [Ilugc] [Tip] Find out active IPs in a Linux LAN

2010-06-17 Thread Mehul Ved
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

Re: [Ilugc] [Tip] Find out active IPs in a Linux LAN

2010-06-17 Thread Varrun Ramani
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.

Re: [Ilugc] [Tip] Find out active IPs in a Linux LAN

2010-06-17 Thread சிவகுமார் மா
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

[Ilugc] [Tip] Find out active IPs in a Linux LAN

2010-06-17 Thread 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 This will ping each computer on the 192.16