LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Download through Command Prompt (https://www.linuxquestions.org/questions/linux-newbie-8/download-through-command-prompt-936010/)

venu5b8 03-23-2012 04:18 AM

Download through Command Prompt
 
Hi EveryBody...

Can any of u give me the solution how to download the file through Command Prompt in GNU/Linux Operating System.


kindly help me out .......

regards
venugopal

acid_kewpie 03-23-2012 04:23 AM

wget http://www.domain.com/file.txt

pingu 03-23-2012 04:25 AM

The command you're looking for is "wget"
wget [-P directory-to-save-to] [url-to-file to download]

(There are other ways too depending on where to download from etc, like scp if you have an account on remote server)

craigevil 03-23-2012 04:35 AM

The Ultimate Wget Download Guide With 15 Awesome Examples - http://www.thegeekstuff.com/2009/09/...les/#more-1885

Current Web home: http://www.gnu.org/software/wget/


or you can use axel

Axel – ultimate download accelerator for Linux that actually works - http://digitizor.com/2009/10/24/axel...ctually-works/

See http://axel.alioth.debian.org/ for latest information on axel


Get used to using 'man' pages.

In a terminal type man wget or man axel

David the H. 03-23-2012 10:59 AM

curl is another commonly used program for downloading, similar to wget.


For the local mirroring of websites, or parts thereof, check out httrack.
It can also be used for doing things like downloading images in bulk, by filtering the type of files that are saved.


It's also possible to use the save options in cli-based web-browsers like links.

Satyaveer Arya 03-23-2012 12:49 PM

lwp-download is another command you can use.
For example:
Code:

# lwp-download <url-path-to-download>
You can check the man page of lwp-download:

Code:

# man lwp-download


All times are GMT -5. The time now is 07:41 PM.