LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-23-2012, 04:18 AM   #1
venu5b8
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 .......

regards
venugopal
 
Old 03-23-2012, 04:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
wget http://www.domain.com/file.txt
 
Old 03-23-2012, 04:25 AM   #3
pingu
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, 04:35 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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
 
Old 03-23-2012, 10:59 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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, 12:49 PM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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

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


Reply



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 07:50 AM
setup command not found in Ubuntu 10.04 Command Prompt vinaytp Ubuntu 2 05-06-2010 01:10 PM
'file' command for Windows/command prompt? SlowCoder General 4 06-16-2009 08:11 AM
startx command in FC7 reverts me back to the command prompt sriram87 Linux - Newbie 5 01-03-2008 11:18 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 PM.

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