Basic methods to debug a shell script | using shellcheck for syntax errors | PS4 Shell Variable

preview_player
Показать описание
Hell guys , this video is about learning the common methods for debugging a shell script . I explained modes like noexec , xtrace and verbose which are used used with set command and bash command during debugging. I also discussed about shellcheck which is used to find syntax error in shell script. shellcheck also provides suggestions and warning that can be used to create a better shell script. I also elaborated PS4 shell variables which is used along with execution trace mode . Throughout the video , I had provided many examples to learn debugging a shell script.
Topics covered in this video are :
- debug a shell script
- no execution mode with bash command
- execution trace mode with set command
- verbose mode with bash command
- PS4 shell variable
- shellcheck to debug a shell script
- -v , -n and -x option in bash command
- no execution mode in set command
- execution trace mode in set command
- verbose mode in set command
- -v , -n and -x option in set command
- debugging examples in shell scripting
#debug #shellcheck #shell #script #PS4
__________________________________________________________
🌻 Support me with 🌻:

__________________________________________________________
👀 Connect with me on 👀 :

Рекомендации по теме
Комментарии
Автор

I recently watched your shell scripting videos, which are amazed. Keep up the great work..

thangamdurai
Автор

Hello bhai, a video on PAM(Pluggable Authentication Modules) if possible?

a_maxed_out_handle_of__chars