Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ###Paste your's dns or other "IP"###
- dnsname=("8.8.8.8" "77.88.8.8" "198.153.192.1")
- count=0
- for req in ${dnsname[@]}
- do
- (( count++ ));
- echo -e "\n\033[32mPing test IP-count:\033[31m${count}\033[0m for \033[44m$req\033[0m\n"
- ping $req -c 3
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement