First page Back Continue Last page Overview

 

continue and break

 
  • while loops can be disrupted during execution

    • continue stops the current execution of the loop and reexamines the initial condition, possibly restarting the loop
    • break stops processing the loop entirely, jumping past the done statement
    • exit exits from the shell script entirely
      • You may provide an exit status