How to perform a bandwidth speedtest – CentOS Linux VPS one-liner command

To check internet speed you can run a Linux speed test – Here are some details that could help:

There are many reasons you want to check / confirm bandwidth speed on your Linux, Windows server or VPS – Many users are not really familiar with command line so we made this simple one liner command to help them determine the speed using the speedtest cli script

yum install -y python &&
wget &&
chmod +x &&

If you prefer to get results in a screenshot – replace last command with

./ --share

After the test – it’s recommended to clean up by running rm


Sometimes IP detection doesn’t lead to the closest preferred server due to globally serving cloud providers may have IPs registered in locations different than the actual server location – That brings the need to actually specify a specific server close to the known server location deployed – If that’s the case those commands will help --list
python --server #####

Replace the above #### with the server ID from the list of results

If you still have any questions – feel free to contact VPSie support for help

Try us free for one full month today!