Question
In linux, in shell scripting, if you are in a while, until or for loop, and you want looping to stop (i.e. execution to continue after "done" line), you use the [...] keyword
break

Question
In linux, in shell scripting, if you are in a while, until or for loop, and you want looping to stop (i.e. execution to continue after "done" line), you use the [...] keyword
?

Question
In linux, in shell scripting, if you are in a while, until or for loop, and you want looping to stop (i.e. execution to continue after "done" line), you use the [...] keyword
break
If you want to change selection, open document below and click on "Move attachment"

7. Shell Scripting
.sh: **warning** $NEW_FILE" echo " already exists - skipping" else cp$1 $NEW_FILE fi done 7.4 break ing Out of Loops and continue ing A loop that requires premature termination can include the <span>break statement within it: 5 10 #!/bin/sh for i in 0 1 2 3 4 5 6 7 8 9 ; do NEW_FILE=$1.BAK-$i if test -e$NEW_FILE ; then echo "backup-lots.sh: **error** \$NEW_FILE" echo " already exists - e

Summary

status measured difficulty not learned 37% [default] 0

No repetitions