```bash
# 分享,可以在网站查看生成的图片
[root@server ~]# speedtest-cli --server 36646 --share # 需要更换服务器id
Retrieving speedtest.net configuration...
Testing from China Telecom (113.132.176.202)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by China Unicom HeNan 5G (Zhengzhou) [434.03 km]: 30.326 ms
Testing download speed................................................................................
Download: 155.98 Mbit/s
Testing upload speed......................................................................................................
Upload: 85.31 Mbit/s
Share results: http://www.speedtest.net/result/14700390192.png # 图片url
```
<img src="https://foxandy007.oss-cn-chengdu.aliyuncs.com/typora_img/image-20230506102226558.png" alt="image-20230506102226558" style="zoom:67%;" />
- 设置别名:需要更换id
```bash
alias speed='speedtest-cli --server 36646 --simple'
[root@server ~]# speed
Ping: 367.255 ms
Download: 194.83 Mbit/s
Upload: 96.23 Mbit/s
```