curl #通过url规则进行文件传输工具
选项:
-o #将访问的数据内容写入到指定的文件中
-s #静默输出
1 2 3 4 5 6 7 8 9 10 11 |
[root@clf ~]# curl -o ./baidu.html www.baidu.com % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2381 100 2381 0 0 311 0 0:00:07 0:00:07 --:--:-- 657 [root@clf ~]# ll total 1356 -rw-r--r--. 1 root root 2381 Jul 10 12:15 baidu.html [root@clf ~]# curl -s -o ./nginx.tar.gz http://nginx.org/download/nginx-1.18.0.tar.gz |