title: Login to Perforce from Commandline
body: <p>I would like to login to Perforce(P4) from the command line.
  I tried using </p>
  
  <pre><code>p4 -u My_Username login
  </code></pre>
  
  <p>But how do I provide the password. I need this to check-in a file from the command line.</p>