title: Encrypt a file using bash shell script
body: <p>I want to encrypt a file using openssl. I can do it by using </p>
  
  <pre><code>openssl des3 -salt -in /pritom/uaeyha_com.sql -out /pritom/a.ss 
  </code></pre>
  
  <p>When I run this command, it gets password from me two times. I want to set password with the script and I used </p>
  
  <pre><code>openssl des3 -salt -in /pritom/uaeyha_com.sql -out /pritom/a.ss -pass pritom 
  </code></pre>
  
  <p>but it gives me the following error:</p>
  
  <pre><code>Invalid password argument "pritom"
  Error getting password 
  </code></pre>
  
  <p>What can I do now?</p>