ISP / DSL speedtest Internet connection measurement CLI

Install

curl -sL  https://packagecloud.io/ookla/speedtest-cli/gpgkey | sudo apt-key add -
 
cat <<EOF> /etc/apt/sources.list.d/ookla_speedtest-cli.list 
deb https://packagecloud.io/ookla/speedtest-cli/ubuntu/ $(lsb_release -cs) main
deb-src https://packagecloud.io/ookla/speedtest-cli/ubuntu/ $(lsb_release -cs) main
EOF
 
sudo apt update
 
sudo apt-get install -y speedtest

Links
https://www.speedtest.net/apps/cli
https://www.speedtest.net/