On Thu, 10 Sep 2020 at 11:08, Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:
> I am totally new to Bash Scripting. I will appreciate if you someone can
> guide me to start learning it with Tips and tricks.
Hi,
Do not expect it will be simple, it is a complicated topic with many
pitfalls and
unexpected complexities.
Be aware that many, many examples that you will see contain vulnerabilities
and/or are not best practice.
Some authors have already made a big effort to write guides
for you, here are two places I recommend to begin reading:
https://guide.bash.academy/ (easier to read but an incomplete work in progress)
http://mywiki.wooledge.org/ (very thorough)
Also there is an excellent tool to give you feedback on your own code here:
https://www.shellcheck.net/