title: Shell command SET -X mean in script
body: <p>So I have a file <strong>deploy.sh</strong>, and it has the shell script. Since I know about it, I have a little confusion, that is what does that <code>set -x</code> actually means. </p>
  
  <p>After running the file I have observed that the command written after it in the file gets mentioned in the terminal with a <strong>+</strong> sign. </p>
  
  <p>Like if I have this,</p>
  
  <pre><code>#!/bin/bash
  set -x
  
  ng build
  </code></pre>
  
  <p>So the output mentions <code>+ng build</code>, and when I comment the <code>set -x</code> from the file, everything executes, but the later commands does not show up in the terminal. </p>
  
  <p>I have researched about it, but specifically couldn't find the real meaning and work of this particular command. </p>