---
title: "Discussion on \"Loop understanding for performing same task multiple times easily\" | Hashnode"
description: "Discussion on \"Loop understanding for performing same task multiple times easily\". Last Blog Review →\nIn the last blog we understood, simple shell scripts to use if-else to get the work done.\nWhy Loops are required ?\n\nUsed to execute a cmd or a set of cmds many times\n\nTo iterate through files\n\nTo iterate lines within a file\n\nIterat..."
url: "https://hashnode.com/posts/loop-understanding-for-performing-same-task-multiple-times-easily/6832382652d1ecfb58a6af53"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Loop understanding for performing same task multiple times easily](https://mihirsuratwala.hashnode.dev/loop-understanding-for-performing-same-task-multiple-times-easily?utm_source=hashnode&utm_medium=feed)

Last Blog Review → In the last blog we understood, simple shell scripts to use if-else to get the work done. Why Loops are required ? Used to execute a cmd or a set of cmds many times To iterate through files To iterate lines within a file Iterat...

May 24, 2025 · 3 min read · mihirsuratwala.hashnode.dev  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#azure](https://hashnode.com/tag/azure)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#cloud-computing](https://hashnode.com/tag/cloud-computing)
-   [#devops](https://hashnode.com/tag/devops)
-   [#devops-articles](https://hashnode.com/tag/devops-articles)
-   [#devops-journey](https://hashnode.com/tag/devops-journey)
-   [#devopscommunity](https://hashnode.com/tag/devopscommunity)
-   [#ec2](https://hashnode.com/tag/ec2)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)
-   [#linux](https://hashnode.com/tag/linux)
-   [#shell-script](https://hashnode.com/tag/shell-script)
-   [#for-loop](https://hashnode.com/tag/for-loop)
-   [#trending-article](https://hashnode.com/tag/trending-article)
-   [#cloud-native](https://hashnode.com/tag/cloud-native)

## Written by

[Mihir Suratwala](https://hashnode.com/@Mihir10)

@Mihir10 · INDIA

  
[View profile](https://hashnode.com/@Mihir10)

DevOps and Cloud Enthusiast

Hi, How are you !! Hope you doing good.... I got introduced to Cloud initially. As I went ahead learning what is cloud and how it works, then got to know a field which is DevOps that makes Cloud model more effective. So, as I started working &amp; got good experience on AWS. I have been learning the DevOps tool and technologies on how to use it with the Cloud, which will give me good understanding on how Cloud and DevOps go hand in hand to deploy my applications.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
