There is a need to write a simple bash script, in a loop from 1 to X, that executes certain code, but this way:
#!/bin/bash for c in {1...5} do #some code done does not work, and so:
... for (( i=1 ; i < 5 ; i++ )) ... also. What to do? Bash version 4.4-5.
for i in $(seq 1 4); do echo $i; donefor i in $(seq 1 4); do echo $i; done- vp_arth