title: How to hide displaying terminal command output
body: <p>When I run this command,</p>
  
  <pre><code>sudo htpasswd -b /home/reynolds/.htpasswd admin admin
  </code></pre>
  
  <p>I am getting output <code>Updating password for user admin</code> in terminal but I dont want to display that output. So I searched some in google and try with the following commands.</p>
  
  <pre><code>sudo htpasswd -b /home/reynolds/.htpasswd admin admin 2&gt;&amp;1
  sudo htpasswd -b /home/reynolds/.htpasswd admin admin &gt; /dev/null
  </code></pre>
  
  <p>But still I am getting that output in terminal.Please help to avoid displaying such output while running this command. Please advice me as I am a very beginner in shell scripting.</p>
  
  <p>Thanks.</p>