speedtest by cmd code example
Example 1: internet speed test terminal
sudo apt install speedtest-cli
Example 2: how to speedtest on bash
pip install --user speedtest-cli
sudo apt install speedtest-cli
pip install --user speedtest-cli