[root@VM_0_11_centos ~]# yum -y install curl
[root@VM_0_11_centos ~]# curl --version
curl 7.29.0 (x86_64-redhat-linux-gnu)
[root@VM_0_11_centos ~]# curl www.baidu.com
<!DOCTYPE html>
<!--STATUS OK-->
.....
---
参考文献:
https://blog.csdn.net/zhaoyanjun6/article/details/79012424