curl http://api.example.com/json | jq '.["someKey"]' # etc., etc. curl http://api.example.com/json | jq '.["someKey"]' # etc., etc. curl http://bogus.example.com/install | sudo bashEDIT: Wow, surprised by the downvotes. I don't think I said anything controversial (y'know principle of least surprise and all), but maybe I was being a bit too opaque: wget, by virtue of being the first on the scene, built an expectation that $THING_THAT_GETS_URLS would result in a file without any other input/arguments. Curl, to this day, surprises me because I was around when wget was all you had.
If you post something, stand by it, do not worry about downvotes. I don't really like them, but nevertheless I'm proud when I get a downvote - it means I don't have a hive-mind mentality.
Whoa... TIL something! I don't know if that's the official etymology, but that's a great mnemonic!
EDIT: ... and yes, I use both tools :).
curl -o does not.
Or maybe there's a good reason for having two tools :)