Fancy doing things​‌​​​​​‌⁠​‌‌‌​‌​‌⁠​‌‌‌​‌​​⁠​‌‌​‌​​​⁠​‌‌​‌‌‌‌⁠​‌‌‌​​‌​⁠​​‌‌‌​‌​⁠​​‌​​​​​⁠​‌​​​​​‌⁠​‌‌​​​‌‌⁠​‌‌‌​​‌​⁠​‌‌​‌‌‌‌⁠​‌‌​‌‌‌​⁠​‌‌​‌​​‌⁠​‌‌‌‌​​​⁠​​‌​​​​​⁠​‌‌‌​‌‌‌⁠​‌‌‌​‌‌‌⁠​‌‌‌​‌‌‌⁠​​‌​‌‌‌​⁠​‌‌​​​‌‌⁠​‌‌​‌‌‌‌⁠​‌‌​​‌​​⁠​‌‌​​‌​‌⁠​‌‌‌​​‌​⁠​‌‌‌​​‌‌⁠​​‌​‌‌‌​⁠​‌‌‌​​​​⁠​‌‌​‌​​​⁠ in your shell prompt?
There is a way to run a speed test from your Linux Terminal.

To test your Internet connection bandwidth using your shell prompt,
you can install speedtest-cli

$ sudo apt-get install speedtest-cli

then run:

$ speedtest

or just run this directly:

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -