pull down to refresh

Started running Bitcoin Knots version v29.1.knots20250903 on my Ubuntu 24.04 box. When I go to the /bin directory, I issue the command
./bitcoin-qt
which fires up the knots application. But I expected it to be a command-line-application at its core (with an optional GUI layer) so that I can also run it from cloud instances (with shell-only access)? In addition, I feel even in my laptop, running a CLI will consume much less memory than a GUI application using X-windows?
So I also tried issuing
./bitcoin-cli
but it could not find some of the options. What are the simplest option to fire up the knots node in CLI mode?
Also, may I switch between CLI and GUI seamlessly after the initial synchronisation?
There isn't interactive CLI mode (except terminal in GUI in bitcoin-qt). Instead, curl or other CLI tools are used to send commands to the daemon bitcoind (over http). The daemon must be started with the "-server" option beforehand in order to accept the commands.
reply
bitcoin-cli -getinfo
?
reply
But I think you gotta make sure bitcoind (bitcoind -daemon) is running, and maybe check if the bitcoin.conf is set up right.
reply