Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose that we have a full URL of desired file e.g.

I would like to go without installing a new software. Is it possible?


 cp  '' hooray

doesn't work ;)

share|improve this question
wget is your friend here :) – cauon Oct 27 '12 at 17:47
wget is perhaps the simplest way but you can also use curl. Read this – drN Oct 27 '12 at 17:50
Use wget -O hooray "". You can add -c option to resume download if connection was lost while downloading file. – Sergey Oct 27 '12 at 18:04
up vote 136 down vote accepted

Open terminal and type

wget "" 

to download the file to the current directory.

wget  -O /home/omio/Desktop/ ""

will download the file to /home/omio/Desktop

share|improve this answer
Beat me to the punch. Dang. But yeah, it's wget [whatever web address]. If you want to choose the location, type cd [local location on your computer.] EXAMPLE: cd /home/omio/Desktop/ | wget – Omio Oct 27 '12 at 17:49
@Omio There is no need to run cd. You can just specify output file via -O option. For example: wget -O /home/omio/Desktop/file.tgz "" – Sergey Oct 27 '12 at 17:59
Your examples will not work. You MUST use quotes when URL contains ampersands. – Sergey Oct 27 '12 at 18:01
@Sergey Thanks for the clarification. I haven't had to use wget yet, but I would have to, in the future. – Omio Oct 27 '12 at 18:05
? and & are interpreted by your shell. You need to quote or escape it. Generally, you have a shortcut to paste a quoted or escaped version of the string in the clipboard in your terminal. Be very careful when pasting stuffs inside a terminal. – alecail Oct 27 '12 at 19:10

I use axel and wget for downloading from terminal, axel is download accelerator



Install via the software center



wget -c

for more details type man axel, man wget in terminal

share|improve this answer
how is axel different from wget? – heinrich5991 Oct 27 '12 at 23:58
@heinrich5991 wget is more advanced than axel! – Pranit Bauva Nov 1 '12 at 7:52

Just to add more flavor to this question, I'd also recommend that you take a look at this:

history -d $((HISTCMD-1)) && echo '[PASSWORD]' | sudo -S shutdown now

You could use this to shutdown your computer after your wget command with a ; perhaps or in a bash script file.

This would mean you don't have to stay awake at night and monitor until your download as (un)successfully run.

Read this answer as well

share|improve this answer

you can do it by using curl .


fore more information

share|improve this answer

the lack of Arira2 mention is just a disservice so with that said, check out Aria2.

share|improve this answer

protected by Community Jan 15 '14 at 8:21

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.