The set -x command in a shell script is used to enable __________ for debugging purposes.

  • Debugging mode
  • Profiling mode
  • Tracing mode
  • Script execution
The set -x command in a shell script is used to enable debugging mode for debugging purposes. When this mode is activated, the shell script will display each command before it is executed, making it useful for tracking the script's execution and finding errors.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *