Useful Commands
Notes on how to use a Geth Client.
geth.service
geth-log # View the geth.service logs
geth-start # Start the geth.service
geth-stop # Stop the geth.service
geth-restart # Restart the geth.service
geth-status # View the status of the geth.service
geth-version # Check the version of Geth in use
geth-enable # Enable the geth.service
geth-disable # Disable the geth.service
geth-delete-data # Delete all Geth chain data
geth-config # Open the /etc/systemd/system/geth.service in vim
daemon-reload # Reload any changes made to the geth.serviceGeth Direct Queries
geth-blockNumber
geth-peerCount
geth-nodeInfoGeth JavaScript Console
Other Useful Commands
Data Locations
Last updated