How do I download a file in Unix?

Thanh Hoan

New member
How do I download a file in Unix?
Answer
The basic syntax: Grab files with
curl run: curl https://your-domain/file.pdf. Get files using ftp or sftp protocol: curl ftp://ftp-your-domain-name/file.tar.gz. You can set the output file name while downloading file with the curl, execute: curl -o file.
 

Tìm kiếm

Back
Top