Here is the format of the command that will do just that.
curl -s https://somedomain.com/some/url/myfile.pdf --output myfile.pdf
The optional output argument specified the name of the file that will be used for saving the target PDF.
Here is the format of the command that will do just that.
curl -s https://somedomain.com/some/url/myfile.pdf --output myfile.pdf
The optional output argument specified the name of the file that will be used for saving the target PDF.