How do I debug a Linux script?

Thu Ha

New member
How do I debug a Linux script?
Answer
Bash shell offers debugging options which can be turn on or off using the set command:
  1. set -x : Display commands and their arguments as they are executed.
  2. set -v : Display shell input lines as they are read.
 

Tìm kiếm

Back
Top