How to debug Bash scripts

Discussion of programming related topics
Post Reply
User avatar
crosscourt
Posts: 11100
Joined: Sun Jan 14, 2018 5:38 pm
Location: Wash DC
Contact:

How to debug Bash scripts

Post by crosscourt »

Site Moderator
User avatar
dai_trying
Posts: 706
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