Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- file=&(time -p wget -O /dev/null -q http://site/file.iso ) 2>&1 | grep real | sed -e s/real//g -e s/' '//g
- if [ $file <= 1 ]
- then
- echo "FAST"
- else
- echo "SLOW"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement