title: geth account new - password on command line
body: <p>I'm trying to use a password on the command line instead of keeping it  on a text file using <code>geth</code>:</p>
  
  <pre><code>geth --password mYp@ssw0rd account new
  </code></pre>
  
  <p>but the above throws:</p>
  
  <blockquote>
    <p>Fatal: Failed to read password file: open mYp@ssw0rd: no such file or
    directory</p>
  </blockquote>
  
  <p>Which makes sense since <code>--password</code> expects a "<em>Password file to use for non-inteactive password input</em>".<br>
  <strong>Is there any way to provide the password directly on the command line using <code>geth</code>?</strong>
  Something like:</p>
  
  <pre><code>geth --password mYp@ssw0rd account new
  </code></pre>
  
  <p>I've seen an <a href="https://github.com/ethereumproject/go-ethereum/wiki/Command-Line-Options#sample-usage-in-testing-environment" rel="nofollow noreferrer"> article on go-ethereum wiki</a> using:</p>
  
  <pre><code>geth --password &lt;(echo -n mYp@ssw0rd) account new
  </code></pre>
  
  <p>But this throws another error on CentOS:</p>
  
  <blockquote>
    <p>-sh: syntax error near unexpected token `('</p>
  </blockquote>