Skip to content

Instantly share code, notes, and snippets.

@pointbiz
Created March 10, 2016 18:15
Show Gist options
  • Save pointbiz/8ead99c5be775dba81a2 to your computer and use it in GitHub Desktop.
Save pointbiz/8ead99c5be775dba81a2 to your computer and use it in GitHub Desktop.
#get onion address
cat /var/lib/tor/bitcoin-service/hostname > $HOME/onionaddr
onion=$(<$HOME/onionaddr)
echo $onion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment