Lê Thị Kiều Giang
Member
How do you debug a shell script step by step?
Answer
Bash shell offers debugging options which can be turn on or off using the set command:
Answer
Bash shell offers debugging options which can be turn on or off using the set command:
- set -x : Display commands and their arguments as they are executed.
- set -v : Display shell input lines as they are read.