1.When I typed that I get:
znd@znd-desktop:~/lightning/lightning$ lightningd --alias=znd --rgb=42f459 --network=bitcoin --bitcoin-datadir ~/.bitcoin --log-level=debug
lightningd: command not found
Command not found appears because you didn't set a path variable.
Navigate into the folder again and use
./lightningd instead of lightningd.
In your case:
./lightningd --alias=znd --rgb=42f459 --network=bitcoin --bitcoin-datadir ~/.bitcoin --log-level=debug2.what is the difference between bitcoind and the core? bitcoin core is fully synchronised and both ways connections.
The executable named
core is the GUI version,
bitcoind runs without a GUI and is a
daemon.