A script can use an iteration variable, i. The value $i of i can be used to create a different name in each iteration. The script below creates 10 directories named D0, D1, ..., D9, where MKDIR is the command to make a directory.
FOR i in 0 1 2 3 4 5 6 7 8 9 DO
To create the same directories using a GUI, the user must perform some number of right and left-clicks, type some number of characters, and press Enter several times.The number of times Enter is pressed is 10 .