download a specific file

curl -f -O http://pcbsd.fastbull.org/7.0.2/i386/PCBSD7.0.2-x86-DVD.iso
download a specific file with -f to not display errors and -O to write output to a file named as the remote file.
Sample Output
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 11 1621M   11  192M    0     0  1003k      0  0:27:34  0:03:16  0:24:18 1119k

-7
By: battavia
2009-04-26 07:23:31

What Others Think

I think its easier & comfortable wget -c http://pcbsd.fastbull.org/7.0.2/i386/PCBSD7.0.2-x86-DVD.iso -C option will re download from existing & interrupted download.
megerdin · 498 weeks and 4 days ago
wget is not installed sometimes in standard configuration.
battavia · 498 weeks and 4 days ago
wget is not installed sometimes in standard configuration.
battavia · 498 weeks and 4 days ago
wget is not installed sometimes in standard configuration.
battavia · 498 weeks and 4 days ago
wget is not installed sometimes in standard configuration.
battavia · 498 weeks and 4 days ago
wget is not installed sometimes in standard configuration.
battavia · 498 weeks and 4 days ago
for i in {1..5}; do echo "wget is not installed sometimes in standard configuration."; done
qubyte · 498 weeks and 4 days ago
Sorry, couldn't help myself. ;)
qubyte · 498 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: