How to debug Bash scripts

Discussion of programming related topics
Post Reply
crosscourt
Posts: 11176
Joined: Sun Jan 14, 2018 5:38 pm

How to debug Bash scripts

Post by crosscourt »

User avatar
dai_trying
Posts: 634
Joined: Sun Jan 14, 2018 7:44 pm
Location: UK
Contact:

Re: How to debug Bash scripts

Post by dai_trying »

I have to say I use probably the easiest to use method of echo commands, it makes things much easier (IMO) for general usage, although if I were to have more complicated scripts I might have to change my way of thinking but most of my bash scripts are less than 50 lines as I usually turn to Python for anything more complex.
Post Reply