T Thu Ha New member Jan 6, 2022 #1 How do I debug a Linux script? 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.
How do I debug a Linux script? 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.