Ubuntu – Why does the for loop in this shell script perform the first iteration twice before doing the second one?
I have a bash script: #! usr/bin/env bash # test bash script to call python scripts cd ~/python for ((i = 1; i <= 2; i++)); do python3 test_0$i.py; done cd ~/bash that pulls test_0x.py files from the python directory…