How ops people learn shell scripting

Source: Internet
Author: User



Core:------again---again!



How ops people learn shell scripting
Old boy Linux early graduate students talk about how to learn shell programming skills

1. Basic grammar, knocking n+1 all over. Why not n times that, because N times is the first few days you've just started working on programming,
1 is to say you want to write every day to think, at least to see.
2. A variety of basic grammar, if a variety of judgments will be, this is not to learn everything but to understand others
Code. This will be written for a period of time, all kinds of use.
3. To solve the above-mentioned problem, all kinds of grammar to learn the problem, now is not to do a variety of grammar procedures, with the top
Instead, form your own style, if with one.
4. Simple to start, simple to judge, simple to cycle.
5. Find a few more examples to analyze, do not see, will. When you close your eyes, can you write it?
6. For the problem analysis to form a programming thinking, that is, if you want to use programming problems, script problems,
Can the brain first divide the big problem, such as the teacher (old boy) close do not need to serve the script,
An analysis of the interpretation of this sentence:
Close Service first command: Chkconfig service name--level 345 off
Then a number of services: multiple to use more than one, but the analysis of the above command out of the service name is the same, it will think of loops.



Can you think of that when you see it yourself, and when you think about it, your mind forms the primary programming mindset.



When you see a big problem, then you can analyze it to a unit, but to the big aspect, the function, then the judgment,
Loop, followed by a combination of commands.
You'll get it. Programming, general problems, as long as you debug on the machine, you can write it out.



7. Programming variable name specification, hump indication, IPTTMPASDFDD



Remember the initial time, do not go to see the big script, to small problems, small aspect, when you think the little aspect is judgment,
Loops can come out in your head in an instant, at the beginning of the big side.



Listen to the old boy teacher and some experts said that the best way to learn early is to knock and break the problem of practice.



The highest programming self-perception is:
Problem analysis decomposition is fast and complete.
Completeness: is to judge the various possibilities.
High efficiency, high performance, 1+2+3...+100 = (1+100) * (100/2)/2



Old boy Shell advanced programming combat Video 52 free



Http://edu.51cto.com/course/course_id-963.html



This article is from the "Old boy Linux ops" blog, please be sure to keep this source http://oldboy.blog.51cto.com/2561410/1577638



How ops people learn shell scripting


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.