[Ethereum] How to delete the geth console history

consolego-ethereumSecurity

how do I delete the geth console history ?

I'm concerned with this, especially in light of this recent Mist hack :

On the console you can also unlock accounts (one at a time).

personal.unlockAccount(address, "password")

Note that we do NOT recommend using the password argument here, since
the console history is logged, so you may compromise your account. You
have been warned.

Best Answer

There's a history file in Geth's datadir that you can delete.

The default datadir is:

Mac: ~/Library/Ethereum
Linux: ~/.ethereum
Windows: %APPDATA%/Ethereum
Related Topic