The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [command-line]

A command line is a string given to a command interpreter that tells it actions to take, such as running programs or copying files. The interpreter processes command lines with escapes and substitutions.

Filter by
Sorted by
Tagged with
7
votes
3answers
928 views

Alternative to deprecated Greeter example code?

After loads of research, it seems the Ethereum.org Greeter example code no longer works. Here's the GitHub issues thread: https://github.com/ethereum/go-ethereum/issues/3793. There are some ...
5
votes
2answers
2k views

Restart Geth from another process

I want to make a script to restart my server and it's prerequisites, which one of them is geth. I don't see a command line to restart it. I want something like geth --restart --xxxx --yyyyy Does ...
2
votes
1answer
392 views

Any way to execute a Windows/Linux command from geth?

I am watching an event from a contract in geth, using the callback function, such as: MyEvent.watch(function(err,result),{...}) Once the event is detected, I would like to execute an external ...
17
votes
3answers
16k views

How can i tell if geth is done running?

Well i am new trying to mine and i did the "C:>geth --rpc" and its still going how will i know when its done? i did all the steps leading to this but my pc just keeps running the INFO [05-18|23:32:...
5
votes
1answer
651 views

How can I execute code locally at given address?

What's the simplest way of executing piece of code at specific address of the main blockchain locally using the command-line interface? In here it's demonstrated how to play mp3 file based on the ...
3
votes
1answer
1k views

None of the Geth commands are working

I can not get geth commands to work. I read a lot of information that says use "this" command for "this". Such as --upgradedb or --removedb. These are not working. They reason im trying these ...
2
votes
1answer
194 views

Is “networkID” hex or decimal?

In the parity chain spec file, there is a value for NetworkID. Is this in hex or decimal? On the geth command line, you can specify the network with "--networkid X". Is that hex or decimal? I am ...
0
votes
0answers
58 views

command line brings up code instead of running commands [duplicate]

I am trying to run truffle commands on commandline but it brings up the code file instead like this