Skip to content
LinuxSimply
  • Courses
  • Tutorials
    • Glossary
    • Commands
    • Linux Basics
    • Bash Scripting
    • Ubuntu
    • Networking
    • Bash Programming
    • Linux Applications
    • Miscellaneous
  • Cheat Sheets
  • Forum
  • About

while loop

How to Use “sleep” command in Bash “while” Loop

How to Use “sleep” Command in Bash “while” Loop [6 Examples]

March 31, 2024February 8, 2024 by Mitu Akter Mou

In Bash, the sleep command in combination with a while loop executes a series of statements repeatedly with a specified …

Read more

bash while loop continue

How to Use Bash Continue with “while” Loop [7 Examples]

March 31, 2024February 6, 2024 by Susmit Das Gupta

Continue statement in bash while loop skips the current iteration and jumps to the next iteration. It is a control …

Read more

Bash One Line “while” Loop

How to Use Bash One Line “while” Loop [8 Examples]

March 31, 2024February 5, 2024 by Mitu Akter Mou

In Bash, a one-line while loop is a loop construct that fits into a single line of code. When comes …

Read more

Exit “while” loop using “break” statement

Exit “while” Loop Using “break” Statement in Bash [11 Examples]

March 31, 2024February 1, 2024 by Mitu Akter Mou

When you are working with bash loops and wish to exit from the loop before finishing it, you can do …

Read more

Bash infinite loop one line.

One Line Infinite “while” Loop in Bash [4 Examples]

March 31, 2024January 30, 2024 by Susmit Das Gupta

An infinite loop executes a set of commands repeatedly for an endless time. The while loop consists of a block …

Read more

increment number using while loop in bash

How to Increment Number Using Bash “while” Loop [8 Methods]

March 31, 2024January 30, 2024 by Mitu Akter Mou

Incrementing and decrementing numbers is one of the most common arithmetic operations in bash scripting, crucial for creating dynamic and …

Read more

How to Read file line using bash while loop

How to Read File Line Using Bash “while” Loop [8 Cases]

March 31, 2024January 25, 2024 by Mitu Akter Mou

Reading a file line by line is a must-have skill that any developer needs to learn to master bash scripting. …

Read more

8 Examples of “while” Loop in Bash

March 17, 2024January 22, 2024 by Mitu Akter Mou

Bash offers different types of loops, while loop is one of them. It runs a block of codes until the …

Read more

while true loop in bash

“while true” Loop in Bash [4 Cases]

March 31, 2024January 17, 2024 by Mitu Akter Mou

While true loop in Bash is a kind of while loop where the condition is always true. It is a …

Read more

linuxsimply white logo
LinuxSimply serves as an informational
repository about the Linux operating system.

Get In Touch!

Company

  • About Us
  • Contact Us
  • Career
  • All Contributors

Services

  • Pricing
  • System Administration
  • Server Management
  • Bash Automation
card

Resources

  • Courses
  • Help Forum
  • Cheat Sheets
  • Free Downloads
trustpilot logo

Legal Corner

  • Disclaimer
  • Privacy Policy
  • Editorial Policy
  • Terms & Conditions
dmca
LinuxSimply is owned by , an IT & Digital Media Company.

Copyright © 2024 LinuxSimply | All Rights Reserved.