NetSpeedTest is a small shell script for quick command-line network speed checks.
It provides:
- Download speed test (default)
- Upload speed test
- HTTP status and elapsed time output
- Linux (the script reads
/proc/uptime) curlawkdd
Run the default download test:
./netspeedtest.shRun the upload test:
./netspeedtest.sh -uShow help:
./netspeedtest.sh -hDefault download test
Download:
curl -fksSL https://raw.githubusercontent.com/pepa-cz/netspeedtest/main/netspeedtest.sh -o netspeedtest.sh
chmod +x netspeedtest.shRun:
./netspeedtest.shUpload test
Download:
curl -fksSL https://raw.githubusercontent.com/pepa-cz/netspeedtest/main/netspeedtest.sh -o netspeedtest.sh
chmod +x netspeedtest.shRun:
./netspeedtest.sh -u- Download test requests a
100MBfile and calculates Mbps. - Upload test sends
64MBof generated data and calculates Mbps. - Output includes HTTP status, elapsed time, and measured speed.
- Upload data is sent to a public endpoint:
https://x0.at/. - Results are quick estimates and may vary with routing, server load, and network conditions.