Skip to content

Instantly share code, notes, and snippets.

teklordz /
Last active Jul 7, 2020
Bitcoin prices in real time from the coindesk website api (bash script)
# Credit to David Walsh for the original script <>
# The improved version of David's script doesn't go back to prompt. It keeps refreshing the prices every 5 seconds.
# Prices are in USD, EUR & GBP (in real time)
# curl must be installed in terminal
echo "Coindesk BTC: "
echo " USD EUR GBP "
while [ 1 ]