Answers.Body: <p>There is an issue with the syntax you are using. According to the <a href="http://wbec-ridderkerk.nl/html/UCIProtocol.html" rel="nofollow noreferrer">UCI protocol</a> you should use <code>position startpos moves e2e4</code>, i.e., the <strong>moves</strong> keyword is missing in your command.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-27T14:03:26.693Z
Answers.Text: Thank you! Checked the syntax many times, but I was somehow blind to the mistake.
Answers.UserDisplayName: Ritesh Singh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-27T14:05:37.453Z
Answers.Text: Sir, I am now able to make the 1st move. How to make the 2nd move?
Answers.UserDisplayName: Ritesh Singh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-27T14:06:54.727Z
Answers.Text: Both `position moves c7c6` and `moves c7c6` doesn't seem to work.
Answers.UserDisplayName: Ritesh Singh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-27T14:57:13.490Z
Answers.Text: UCI is stateless, so you need to send the list of moves from the beginning anew, e.g., `position startpos moves e2e4 c7c6` (the protocol is not really designed for manual usage)
Answers.UserDisplayName: Fabian Fichter
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-27T15:06:34.313Z
Answers.Text: Thank you, very grateful! 
Answers.UserDisplayName: Ritesh Singh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-27T13:47:51.450Z
Answers.LastActivityDate: 2020-06-27T13:47:51.450Z
Answers.UserDisplayName: Fabian Fichter
Body: <p>I am trying to play with stockfish from terminal.</p>
  <p>I entered the following commands:</p>
  <pre><code>position startpos e2e4
  d
  </code></pre>
  <p>The output was:</p>
  <p><a href="https://i.sstatic.net/8NdOK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8NdOK.png" alt="stockfish output" /></a></p>
  <p>Why is stockfish not accepting my move?</p>
  
Tags: <engines><stockfish><computer-chess><uci>
Title: Why is stockfish not accepting my move?
ThreadText: # Why is stockfish not accepting my move?
  
  (Asked by: username_0 on 2020-06-27)
  
  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?
  
  **Tags:** engines, stockfish, computer-chess, uci
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-27. Score: 4 | Accepted answer
  
  There is an issue with the syntax you are using. According to the [UCI protocol](http://wbec-ridderkerk.nl/html/UCIProtocol.html) you should use `position startpos moves e2e4`, i.e., the **moves** keyword is missing in your command.
  
  > **Comments:**
  > **username_0**: Thank you! Checked the syntax many times, but I was somehow blind to the mistake.  
  > **username_0**: Sir, I am now able to make the 1st move. How to make the 2nd move?  
  > **username_0**: Both `position moves c7c6` and `moves c7c6` doesn't seem to work.  
  > **username_1**: UCI is stateless, so you need to send the list of moves from the beginning anew, e.g., `position startpos moves e2e4 c7c6` (the protocol is not really designed for manual usage)  
  > **username_0**: Thank you, very grateful!   
  
  ---
  
  