Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run geth without console?

Tags:

ethereum

geth

I need run geth on server without console. How to do this? just not add argument console?

And can I attach to geth running without console, when I want to stop geth, or open console.

like image 206
Руслан Миров Avatar asked Nov 25 '25 19:11

Руслан Миров


1 Answers

If you append an '&' at the end of your geth <args> & command, it will run the command as a separate process in the background. Then you should be able to connect to it with geth attach from a separate console to stop or modify it.

like image 144
Oisin Avatar answered Nov 28 '25 00:11

Oisin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!