Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2012, 05:18 AM   #1
LQ Newbie
Registered: Mar 2011
Posts: 15

Rep: Reputation: 0
Exclamation 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 .......

Old 03-23-2012, 05:23 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
Old 03-23-2012, 05:25 AM   #3
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
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)
Old 03-23-2012, 05:35 AM   #4
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
The Ultimate Wget Download Guide With 15 Awesome Examples -

Current Web home:

or you can use axel

Axel – ultimate download accelerator for Linux that actually works -

See for latest information on axel

Get used to using 'man' pages.

In a terminal type man wget or man axel
Old 03-23-2012, 11:59 AM   #5
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954
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.
Old 03-23-2012, 01:49 PM   #6
Satyaveer Arya
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
lwp-download is another command you can use.
For example:
# lwp-download <url-path-to-download>
You can check the man page of lwp-download:

# man lwp-download

Last edited by Satyaveer Arya; 03-23-2012 at 01:51 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
download from command prompt rmugunthan Linux - Newbie 9 11-18-2011 08:50 AM
setup command not found in Ubuntu 10.04 Command Prompt vinaytp Ubuntu 2 05-06-2010 02:10 PM
'file' command for Windows/command prompt? SlowCoder General 4 06-16-2009 09:11 AM
startx command in FC7 reverts me back to the command prompt sriram87 Linux - Newbie 5 01-04-2008 12:18 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration