Why is stockfish not accepting my move? I am trying to play with stockfish from terminal.
I entered the following commands:
position startpos e2e4
d

The output was:

Why is stockfish not accepting my move?
There is an issue with the syntax you are using. According to the UCI protocol you should use position startpos moves e2e4, i.e., the moves keyword is missing in your command.