bash repeat character n times code example Example: how to do a repeat until loop in bash until [CONDITION] do [COMMANDS] done