title: how to hide password in command line with **** and get the value into .bat file and .sh file
body: <p>My .bat file command to get user input from command line is</p>
  
  <pre><code>set /p weblogicpassword=Enter weblogic password:%=%
  </code></pre>
  
  <p>My .sh file command to get user input from bash script is </p>
  
  <pre><code>echo -n "Enter weblogic password: "
  read weblogicpassword
  </code></pre>
  
  <p>Now when we enter some values for password, those values are visible in command line.
  How we can get the password values from command line which should be invisible to users like <em>*</em>* </p>