News for hackers. Stuff that matters.
Re:Why curl defaults to stdout by jeena on Monday November 17, 2014 @03:16PM (#8620250)
I never know what wget will use as the file name so I only use it if the resource has a real name, if it is only like in your example I would always prefer:

curl https://news.ycombinator.com > hn.html

That way I am sure I don't overwrite some other file I already have in this folder with the same name which wget will give it.

Re:Why curl defaults to stdout by cooper12 on Tuesday November 18, 2014 @09:45AM (#8624018)
wget won't overwrite files by default. Instead it will append .1 to the filename and so forth. You'd have to use the -c/--continue option.