15 Tips On How to Use ‘Curl’ Command in Linux

Gabriel Cánepa

View curl Version The -V or –version options will not only return the version, but also the supported protocols and features in your current version. Download a File If you want to download a file, you can use curl with the -O or -o options. $ curl -C - -O http://yourdomain.com/yourfile.tar.gz 4. Download Multiple Files With the following command you will download info.html and about.html from http://yoursite.com and http://mysite.com, respectively, in one go. Download Files from an FTP Server with or without Authentication If a remote FTP server is expecting connections at ftp://yourftpserver, the following command will download yourfile.tar.gz in the current working directory.

Visit Link