Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: saddambitcoin on July 20, 2015, 02:22:52 PM



Title: noobish linux rpi bitcoind question
Post by: saddambitcoin on July 20, 2015, 02:22:52 PM
I finally set up my full node on a Raspberry Pi 2. I'm using an external HD to store the /.bitcoin datadir.

Before when I just ran bitcoind on the SD card, I could do bitcoin-cli getinfo and it would work.

Now when I try to run that command, it seems to be looking in my ~/.bitcoin directory and not finding anything, so it doesn't work. I checked my IP on bitnodes and I confirmed that my node is running.

How do I getinfo when I'm using an external HD?


Title: Re: noobish linux rpi bitcoind question
Post by: saddambitcoin on July 20, 2015, 02:32:36 PM
Figured it out

Code:
bitcoin-cli -datadir=/path/to/.bitcoin getinfo