while loop in single line for bash terminal code example Example: linux while loop while true; do #code ;done