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