Linux CLI - Environment and Configuration
What happens when
set -x is enabled in a shell script?set -x is enabled in a shell script?set -xThis option makes the shell print each command to the terminal before running it, helping with debugging.
set -e causes exit on error, not printing commands. Other options do not relate to printing commands.
set -x = print commands [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions