How to debug Bash scripts
- dai_trying
- Posts: 634
- Joined: Sun Jan 14, 2018 7:44 pm
- Location: UK
- Contact:
Re: How to debug Bash scripts
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.