The shell is a bridge between the user and the Unix/linux operating system. The user can either enter command execution or use shell scripting to do more complicated operations.
In the increasingly perfect GUI today, in the system management and other fields, shell programming still plays a role that can not be ignored. An in-depth understanding and proficiency in shell programming is one of the required lessons for every unix/linux user.
When it comes to learning a new programming language, you might think of the so-called "10,000-hour law." In fact, to become a master, it is meaningless to know "10,000 hours" because the real key is not the training time, but the method of training.
People's learning is divided into three districts: the comfort zone, the panic zone, the area before the two is called the learning area, also known as out of the comfort zone. So, the nature of learning is never comfortable, because you are doing things that you will not do. In the "comfort zone" work, call life, in the "Learning area" work, is called practice.
The name of this series of micro-lesson " stupid way to learn bash Shell", why call this name?
There are so many smart people in the world, but sometimes we need to do something that looks stupid. We will divide the training content into targeted small pieces, and you and I will adhere to the following principles:
Enter all code manually. Do not copy and paste!
Enter all code correctly, including comments
Run the code and ensure that the same output is produced
If a bug occurs, fix it
Before you ask for help, try to understand yourself first.
Micro Lesson | Stupid, huh? -Dumb ways to learn shell programming (1)
Micro Lesson | Ruler is short-stupid way to learn shell programming (2)
Micro Lesson | Good things, their device-stupid ways to learn shell programming (3)
Micro Lesson | Warm-up script 1-dumb way to learn shell programming (4)
Micro Lesson | Warm-up script 2-dumb way to learn shell programming (5)
Continuous update ...
"Dumb Way" learn bash Shell (ongoing update)