diff --git a/docs/Internet Neighborhood.md b/docs/Internet Neighborhood.md index 17dc69b..4e300b3 100644 --- a/docs/Internet Neighborhood.md +++ b/docs/Internet Neighborhood.md @@ -503,4 +503,8 @@ giphy.com howstuffworks.com scholastic.com com.com -``` \ No newline at end of file +``` +1. Determine which domains respond to a ping at all. It's possible that some of these randomly drop 4 pings, but that will be a small number. Do accomplish this, we'll ping each host 4 times and we send the output to ping.log. +`for domain in $(cat domains.txt); do ping -c 4 $domain >> ping.log 2>&1; done` + +This gives us [attach/ping.log](attach/ping.log) \ No newline at end of file diff --git a/docs/attach/ping.log b/docs/attach/ping.log new file mode 100644 index 0000000..663dad7 --- /dev/null +++ b/docs/attach/ping.log @@ -0,0 +1,5 @@ +PING com.com (54.219.18.140) 56(84) bytes of data. + +--- com.com ping statistics --- +4 packets transmitted, 0 received, 100% packet loss, time 3065ms +