While ... do

From wikieduonline
Revision as of 08:10, 29 April 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search


#!/bin/bash

while true; do
  ((my_var++))
  echo $my_var
done


See also

Advertising: