Shell/Bash: linux speed test Example


Shell/Bash Example: This is the "linux speed test" Example. compiled from many sources on the internet by

linux speed test

curl -s | python - cli

sudo apt-get install gnupg1 apt-transport-https dirmngrexport INSTALL_KEY=379CE192D401AB61# Ubuntu versions supported: xenial, bionic# Debian versions supported: jessie, stretch, busterexport DEB_DISTRO=$(lsb_release -sc)sudo apt-key adv --keyserver --recv-keys $INSTALL_KEYecho "deb ${DEB_DISTRO} main" | sudo tee  /etc/apt/sources.list.d/speedtest.listsudo apt-get update# Other non-official binaries will conflict with Speedtest CLI# Example how to remove using apt-get# sudo apt-get remove speedtest-clisudo apt-get install speedtest

speedtest cli

sudo apt-get install gnupg1 apt-transport-https dirmngr
export INSTALL_KEY=379CE192D401AB61
export DEB_DISTRO=$(lsb_release -sc)
sudo apt-key adv --keyserver --recv-keys $INSTALL_KEY
echo "deb ${DEB_DISTRO} main" | sudo tee  /etc/apt/sources.list.d/speedtest.list
sudo apt-get update
sudo apt-get install speedtest

* Summary: This "linux speed test" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!