A tutorial for getting started with Shell scripting
This article mainly explains the "introduction to Shell script programming tutorial", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "introduction to Shell script programming tutorial"!
Example 1: drawing special graphics
The code is as follows:
#! / bin/bash
MAX_NO=0
Echo-n "Enter Number between (5 to 9):"
Read MAX_NO
If! [$MAX_NO-ge 5-a $MAX_NO-le 9]; then
Echo "WTF... I ask to enter number between 5 and 9, Try Again"
Exit 1
Fi
Clear
For ((iTun1; ionomi; smurf -))
Do
Echo-n ""
Done
For ((jacks 1; iMel -))
Do
For ((Signori; s