Shell Scripting Tutorial for Beginners - How to debug a bash script

preview_player
Показать описание
sh -x script [arg1 ...]
bash -x script [arg1 ...]
These give you a trace of what is being executed.

set -x # activate debugging from here
set +x # stop debugging from here

★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме