当前位置:网站首页>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!
- Design of IM login server and message server
- Laravel8 fill data
- Semantic segmentation cvpr2019-advance: advantageous enterprise minimization for domain adaptation in semantic segmentation
- Wind farm visualization: wind farm data
- Understanding of process, thread, task queue, event loop, macro task, micro task, execution stack and other concepts in JS
- RT thread i/o device model and layering
- Introduction to sap ui5 tools
- JMeter stress testing and agent recording
- Gavin's insight on transformer live class - line by line analysis and field experiment analysis of insurance BOT microservice code of insurance industry in the actual combat of Rasa dialogue robot pro
猜你喜欢

Distributed solar photovoltaic inverter monitoring

Click to send text messages without response is a common problem for many users in building the elegant grass Dragonfly Q system - solve the problem of clicking to send text messages without response
Some common errors and solutions of using SAP ui5 to consume OData services
Vscode voice notes to enrich information (medium)
SAP ui5 application development tutorial 32 - how to create a custom SAP ui5 control
Interviewer: what is an iterator? What is the relationship between async await and iterators?

MySQL tuning --01--- optimization steps and system performance parameters

ThreadLocal
How the sap ui5 framework performs single step debugging of batch requests
Various errors and solutions encountered when deploying SAP ui5 application to ABAP server with SAP Fiori tools
随机推荐
Yunda's cloud based business in Taiwan construction 𞓜 practical school
Excel splits a worksheet into multiple worksheets according to conditions, and how to split multiple worksheets into independent tables
SAP ui5 application development tutorial 32 - how to create a custom SAP ui5 control
Differences and connections between sap ui5 and openui5
Gavin's insight on transformer live class - line by line analysis and field experiment analysis of insurance BOT microservice code of insurance industry in the actual combat of Rasa dialogue robot pro
[open source sharing] deeply study KVM, CEPH, fuse features, including open source projects, code cases, articles, videos, architecture brain maps, etc
Vscode voice notes to enrich information (medium)
SAP Fiori tools and corresponding cli (command line interface)
Farewell to Lombok in 996
[kicad image] download and installation
50 days countdown! Are you ready for the Landbridge cup provincial tournament?
MySQL transaction learning notes (I) first encounter
Timed thread pool
Guava immutable set
The locally developed SAP ui5 application is deployed to the ABAP server to perform error analysis
ArcGIS Engine + Visual Studio installation tutorial
Interface learning
MV command – move or rename files
SAP ui5 date type sap ui. model. type. Analysis of date parsing format
Noi Mathematics: Dirichlet convolution