Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ more grepHref.sh
- grep "href" index.html | cut -d '/' -f3 | sort -u > ips.txt
- $ more hostname.sh
- #!/bin/bash
- ##to check bundles of ip in ips.txt
- for hostname in $(cat ips.txt); do
- host $hostname | egrep "has address|is an alias"
- done
Add Comment
Please, Sign In to add comment