Multiple choice technology operating systems

What will happen if I execute a shell script with -x options

  1. Will only show a preview of the execution and will not actually execute the script

  2. Show verbose messages of the execution and helps in debugging

  3. This is called safe-execution.

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The -x flag enables execution tracing, printing each command before it runs, which aids debugging. The other options describe unrelated behaviors, so the stored answer is correct.