Check the current price of Bitcoin in USD

echo "1 BTC = $(curl -s | grep -o 'rate":"[^"]*' | cut -d\" -f3) USD"
Sample Output
1 BTC = 232.7678 USD

2015-09-19 00:17:02

2 Alternatives + Submit Alt

What Others Think

Could probably be done a lot better using jq
benjabean1 · 313 weeks and 5 days ago
Sure but then you have to install jq :P
cadejscroggins · 313 weeks and 5 days ago
can we use the same principle for XRP?
f3ck4r · 63 weeks ago
I found a few alternative variants but this should work too. I would recommend checking for price changing too. Interesting, what code does this platform use?
fiction99 · 60 weeks and 1 day ago
I found a few alternative variants but this should work too. I would recommend checking for price changing too. Interesting, what code does this platform use?
fiction99 · 60 weeks and 1 day ago
Bitcoin is the most in-demand and required currency nowadays. When this currency started its way, no one was thinking that it would get so much importance. Also they offer btc software to help and maintain your sales. Command Line EFU forum has been working very well along with spreading awareness.
HaydenGipps · 44 weeks ago
I have tried to check the complete information about cryptocurrency through the article which is the best platform for learning as well. Most of the students preffer to go to the website which provides the writing service platform. Students can easily get details about the writing service options online as well.
term67 · 34 weeks ago
any new recent updates with the forum??
Killersmile · 25 weeks and 2 days ago
Those that are after deals at all I don't understand. It's obviously a ploy for marketing. You had best bring something else into that moment. I placed the time for cryptocurrency investments, for example. I'm now trading with coinigy alternative and they are linked to 36 different markets and so traders can do their job really easily.
illianna · 24 weeks ago
Check the best ways to buy Bitcoin with PayPal, using step-by-step guides. Compare the exchanges where you can buy BTC with PayPal instantly or with no ID.
marcus89 · 12 weeks and 6 days ago
Thanks for sharing info about crypto.
lineagerq · 8 weeks and 6 days ago
I've been trading cryptocurrencies for quite some time now. And there are several nuances and equivalent jobs in my line of business. Initially, I intended to hire a small staff to help me with my responsibilities, but in the end, I decided to purchase bots to help me out. This was aided by coinigy reviews . I was able to locate the bot I was looking for, and after making a successful purchase, I began actively working. I'm happy with the bot's performance and would recommend it to everyone!
lineagerq · 8 weeks and 6 days ago
For cryptocurrency exchange where you can buy and sell Bitcoin and other cryptocurrencies with ease, with its mission, provides the crypto audience with a simple cryptocurrency trading for seamless crypto-to-crypto (c2c) and fiat-to-crypto (f2c) experience here list with some other information is available.
lee0987 · 2 weeks 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? 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.


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: