More terminal trix: if you have a Mac, in the latest MacOS Ventura you can now do an internet speed test in the Terminal.
networkQuality -v