skip to main
|
skip to sidebar
Sav's Blog
Friday, 5 March 2010
Finding all hosts on a network subnet (Windows Cygwin Bash)
Just run the below in Cygwin bash command shell:
for ip in $(seq 1 254); do ping -w 20 -n 1 192.168.1.$ip>/dev/null; [ $? -eq 0 ] && echo "192.168.1.$ip UP" || : ; done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2013
(1)
►
May
(1)
►
2012
(1)
►
July
(1)
►
2011
(12)
►
November
(1)
►
October
(2)
►
September
(3)
►
August
(1)
►
April
(2)
►
March
(1)
►
February
(2)
▼
2010
(11)
►
December
(1)
►
November
(1)
►
September
(1)
►
July
(1)
►
April
(1)
▼
March
(3)
samba jcifs single server/host multiple computer o...
Rsync over ssh hanging / freezing in Cygwin problem
Finding all hosts on a network subnet (Windows Cyg...
►
February
(1)
►
January
(2)
►
2009
(9)
►
November
(2)
►
October
(7)
About Me
Saviz Izadpanah
View my complete profile
No comments:
Post a Comment