terminal linux check internet speed code example
Example 1: internet speed test terminal
sudo apt install speedtest-cli
Example 2: how to speedtest on bash
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -