In linux, curl is a tool to transfer data from or to a server, using one of the supported protocols(DICT, FILE ,FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP).
$ curl example.com
The command will print the source code of the example.com homepage in the terminal window.
$ curl [options...] <url>
Options start with one or two dashes. Many of the options require an additional value next to them.
***To know more about options and their specific usage open the terminal and type the following command :
$ curl --help