当前位置:网站首页>Curl command – file transfer tool
Curl command – file transfer tool
2022-06-25 05:59:00 【ProYuan28】
curl Command is a use of URL The rules in shell Terminal command line working under the file transfer tool ; It supports file upload and download , So it's the integrated transport tool , But by tradition , Customary term curl For download tools .
As a powerful tool ,curl Support includes HTTP、HTTPS、ftp And so many agreements , And support POST、cookies、 authentication 、 Download some files from the specified offset 、 User agent string 、 The speed limit 、 file size 、 Progress bar and so on ; Do web page processing and data retrieval Automation .
Grammar format :curl [ Parameters ] [ website ]
Common parameters :
-O | Write the output to this file , Keep the filename of the remote file |
-u | Access is authorized through the user name and password configured on the server |
Reference examples
Write the downloaded data to a file , The absolute address of the file must be used :
[[email protected] ~]# curl https://www.linuxcool.com/abc.txt --silent -O
When accessing a page that requires authorization , It can be done by -u Options provide user name and password for authorization :
[[email protected] ~]# curl -u root https://www.linuxprobe.com/ Enter host password for user 'root':
边栏推荐
- Kubevela v1.2 release: the graphical operation console velaux you want is finally here!
- SAP Fiori tools and corresponding cli (command line interface)
- Timed thread pool
- Jenkins installation and configuration
- Simple student management system
- cacacahe
- The locally developed SAP ui5 application is deployed to the ABAP server to perform error analysis
- SAP ui5 application development tutorial XXIX - Introduction to routing and navigation functions of SAP ui5 trial version
- Uni app wechat applet customer service chat function
- 同花顺软件究竟是什么?网上开户安全么?
猜你喜欢
ArcGIS Engine + Visual Studio installation tutorial
Various errors and solutions encountered when deploying SAP ui5 application to ABAP server with SAP Fiori tools
【LeetCode】40. Combined summation II (2 strokes of wrong questions)
Learn the interface test, see it is very good, and make a note
[OSPF routing calculation (class I LSA router, class II LSA network, and class III LSA sum net)] -20211228-30
16 application problem solving
Configuration file ui5 local in SAP ui5 tools Configuration points of yaml
Interviewer: what is an iterator? What is the relationship between async await and iterators?
Yunda's cloud based business in Taiwan construction 𞓜 practical school
[kicad image] download and installation
随机推荐
The e-book "action guide for large organizations to further promote zero code application platform" was officially released!
ThreadLocal
Create a complete binary tree in array order
CST8227
Data7202 statistical analysis
Understanding of process, thread, task queue, event loop, macro task, micro task, execution stack and other concepts in JS
Distributed solar photovoltaic inverter monitoring
Interview experience - list of questions
Kyma application connectivity feature introduction
cacacahe
Incorrect dependency of POM file
SAP Fiori tools and corresponding cli (command line interface)
Linus' speech recordings, which were lost in 1994, were made public
Technology Review: what is the evolution route of container technology? What imagination space is there in the future?
Guava immutable set
Rhcsa day 4
Introduction to the main features of kyma when the cloud native application runs
MySQL transaction learning notes (I) first encounter
手机开户一般哪个证券公司好?手机开户是安全么?
Code learning-cvpr2020 unsupervised domain adaptive semantic segmentation: intra advance