I was trying to interact with bitcoin network with JSON RPC commands, So I referred to the bitcoin wiki page https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Java it shows to run the bitcoin using 'bitcoind -daemon' command. but another page of bitcoin wiki https://en.bitcoin.it/wiki/Running_Bitcoin suggest running the node using './bitcoind' command.so What is the difference between the two commands?

1 Answer 1


What is the difference between the two commands?

./bitcoind - runs bitcoin node in the foreground.

./bitcoind -daemon - runs bitcoin node as daemon.

What is daemon?

In multitasking computer operating systems, a daemon is a computer program that runs as a background process, rather than being under the direct control of an interactive user.

  • so the bitcoin -daemon command also download the blockchain data in the background, right?
    – Akshay Dev
    Sep 4, 2018 at 7:20
  • bitcoin -daemon runs bitcoin node in the background. Sep 4, 2018 at 7:20
  • @Akshay Operationally, the two are identical. The only difference is whether it runs in the background or not. Sep 4, 2018 at 17:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.