while do every line bash script code example Example: bash do while one line while : ; do ACTION_CODE;[[ CONDITION_STATEMENT ]] || break;done