Bash break and continue

Posted by linuxize on Jan 29, 2020 8:57 PM EDT
Linuxize.com
Mail this story
Print this story

Loops allow you to run one or more commands multiple times until a certain condition is met. However, sometimes you may need to alter the flow of the loop and terminate the loop or only the current iteration. In Bash, break and continue statements allows you to control the loop execution.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: GNU, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.