Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

A tutorial for getting started with Shell scripting

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report