There's also an awesome Firefox extension called "cliget" that will give you curl and wget (and some windows only thing I've never heard of) command lines—It adds a "Copy curl for link" context menu item for every link.
It's quite nice because it will put all your cookies on the command line so you can trivially download files protected by a login page directly to remote servers.