I always edit CoreELEC configurations with the memory device mounted and running. There is no problem with Linux, with Android I use X-plore and Termius, and in the case of Windows you can use FileZilla, PuTTY and Notepad ++. If you can’t start CoreELEC fix this first (dtb?). To restart CoreELEC with command line you can use PuTTY:
reboot
or
kodi-send --action=reboot