Created
March 12, 2024 01:38
-
-
Save lionants02/e760cd6368168e34c55049a6b3f04e85 to your computer and use it in GitHub Desktop.
shell script loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s_start=8 | |
s_end=20 | |
for j in $(seq $s_start $s_end); do | |
mkdir $j | |
max=8 | |
for i in $(seq 1 $max); do | |
echo "$j $i" | |
mv l* L* $j/ | |
sleep 7 | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment