views:

120

answers:

3

Hi,

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

+5  A: 

The Advanced Bash Scripting Guide is a classic and comprehensive Bash reference/tutorial.

Mark Rushakoff
+1 Truly comprehensive from novice to expert. Includes caveats and plenty of cut-in-paste examples.
ezpz
Thanks for the suggestion. I changed the title to reflect that I am looking for a beginner's tutorial but based on your comment, I should not be scared as a novice. I will give it a whirl. Thanks!
tundal45
+1  A: 

Two ressources i would recommend:

  1. The book "Learning the bash Shell" from Cameron Newham and Bill Rosenblatt.
  2. The advanced bash scripting guide.
  3. The man page (although it might be a bit hard)
dz
Thank you very much for the resources. Greatly appreciated!
tundal45
+1  A: 

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.

silentbicycle