#!/bin/bash# This simple bash script logs your internet speed to a file with a timestamp. # Call it with cron to periodically log you internet speed.# Modify as needed.# Requires 'speedtest' CLI, so install it with 'sudo apt-get install speedtest-cli' or 'sudo apt install speedtest'# Log date into the filedate | tee -a speedtest.log
# Log the speed output into the filespeedtest | tee -a speedtest.log
# Make it prettyecho"--------------------------------------------------------------------"| tee -a speedtest.log
# That's it
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.