Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ubuntu download file command line

$ sudo apt install curl

Download and save the file using the source file name
$ curl –O [URL]

Download and save the file with a different name
$ curl –o [filename] [URL]


Download multiple files
$ curl -O [URL1] -O [URL2]

Download files using Wget
----------------------------
$ sudo apt-get install wget
$ wget [URL]
$ wget -O [filename] [URL]
 
PREVIOUS NEXT
Tagged: #ubuntu #download #file #command #line
ADD COMMENT
Topic
Name
3+6 =