Looking for recommendations on a good ** beginners

2020-02-26 14:10发布

问题:


Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 6 years ago.

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

回答1:

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



回答2:

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)


回答3:

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.



回答4:

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.