'How to close the console in the geth console

In Ethereum I opened the javascript console with "geth console" but I can not close it anymore.

I have tried ctrl-c, but it does not work.



Solution 1:[1]

Just type exiton the geth console

Solution 2:[2]

Ctrl + c is the shortcut to clear the input prompt.Ctrl + d will exit the console when the input line is clear.

Alternatively, you can type the command exit

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shashank
Solution 2 Taylor Gerring