Skip to content

Instantly share code, notes, and snippets.

@pointbiz
Created Jul 23, 2017
Embed
What would you like to do?
./bitcoin-cli -datadir=/root/.bitcoin getinfo
echo -n "device ip: "
ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'
date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment