0% found this document useful (0 votes)
8 views1 page

58 Curl

Uploaded by

Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

58 Curl

Uploaded by

Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Curl (Client URL):

Linux curl (Client URL) command is used to download or upload data to a server via supported
protocols such as HTTP, FTP, IMAP, SFTP, TFTP, IMAP, POP3, SCP, etc. It is a remote utility, so it
works without user interaction. The curl utility allows us to transfer data via the command line.

curl (Client URL) comes with a wide range of options and parameters that facilitate its use in
different use cases.

Commands Description
# apt install curl Install curl package
# curl --version Verify the installation of curl
# man curl checking the manual
# curl --help Getting help about curl
# curl <URL> To fetch the content of any specific URL
# curl -o <directory>/<filename> <URL> To save the data in a specific file
# curl -C <URL> Resume the download of the specified URL
# curl -O <URL1> <URL2> To download the multiple files
# curl -I <URL> To query the HTTP headers from website
# curl -O <URL>/<file> Downloading a File
# curl -u username:password <URL> Authentication
# curl -x proxyserver:port <URL> Using a proxy
# curl --limit-rate 100k <URL> -O Limiting the Download Speed

Commands
# curl example.com
# curl -O https://wordpress.org/lastest.zip
# curl -o file.txt https://www.example.com
# curl --limit-rate 100k https://wordpress.org/lastest.zip -O
# curl -x 192.168.114.10:80 example.com
# curl -I example.com

1 | P a g e Created by Ahmad Ali E-Mail: [email protected] , WhatsApp: 00966564303717

You might also like