Advertisement
Guest User

Untitled

a guest
Feb 28th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. for a in {134..134} ;do \
  2. for b in {7..7} ;do \
  3. for c in {44..47} ;do \
  4. ## C'mon, only fork 255 processes at a time pls, anything else is just rude,
  5. ## and will likely give you a RESOURCE BUSY
  6. sleep 1
  7. for d in {0..254} ;do \
  8. (ping $a.$b.$c.$d -c 1 -w 1 >/dev/null &)
  9. [ $? -eq 0 ] && echo $a.$b.$c.$d >> alive
  10.  
  11. done; done; done; done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement