Shell Common Scripts

Source: Internet
Author: User

Shell Common Scripts

Author:headsen Chen 2017-10-17 15:36:17

Personal original, reproduced please indicate, otherwise, legal liability shall be investigated

1,vim name.grep.sh

2,cat tellme.sh

3,cat idcheck.sh

4,cat case.sh

Note: The file name is called in the script: $

5,for Loop Statements

When the first loop is executed, the first exposition in the list is given to the loop variable, and the word is removed from the list and then into the loop body, executing the command between do and done. The next time you enter the loop body, the second exposition is given to the loop variable, and the word is removed from the list, and the subsequent loops are also used. When all the words in the list are removed, the loop ends.

Shell Common Scripts

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.