How to debug Bash scripts
- crosscourt
- Posts: 11169
- Joined: Sun Jan 14, 2018 5:38 pm
- Location: Wash DC
- Contact:
How to debug Bash scripts
Site Moderator
- dai_trying
- Posts: 706
- 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.