linux internet speed console code example
Example 1: test internet speed terminal linux
sudo apt install speedtest-cli
speedtest-cli
Testing download speed................................................................................
Download: 9.54 Mbit/s
Testing upload speed......................................................................................................
Upload: 14.61 Mbit/s
Example 2: how to speedtest on bash
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -