I am an ETL developer by profession that just started reading The Pragmatic Programmer by Dave Thomas & Andrew Hunt. I have been meaning to learn more about bash & command line in Ubuntu for a while but reading this book made me realize how essential it is for me to start learning it. Therefore, I would love to get some recommendation from the StackOverflow community on a good beginner tutorial/reference to bash. I am looking for something that gives me a lot of example commands to play with and some exercises/challenges.
Thank you all very much!
Ashish
This Bash Guide was quite clear, progressive and comprehensive for me. It has the advantage to teach you about good practices as well, especially by showing what is good practice and what is not. On top of this, you can always ask questions and get help on the IRC channel, which is, in my opinion a great plus when learning.
Kernighan and Pike's The Unix Programming Environment will show you how experts use the Unix command line. They write several small tools throughout the book, many of which are shell scripts. It doesn't focus on bash (bash didn't exist at the time!), but rather the standard bourne shell (sh). You can learn bash's non-portable extensions after you're comfortable with the basics.
The Advanced Bash Scripting Guide is a classic and comprehensive Bash reference/tutorial.
Two ressources i would recommend: