#!/bin/bash if ping -c 1 o2.de &> /dev/null then date +"%D %T" >> ./speed.log speedtest-cli --simple >> ./speed.log echo "" >> ./speed.log fi