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?
What is the difference between the two commands?
./bitcoind - runs bitcoin node in the foreground.
./bitcoind -daemon - runs bitcoin node as 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.