Skip to content

Instantly share code, notes, and snippets.

@lionants02
Created March 12, 2024 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lionants02/e760cd6368168e34c55049a6b3f04e85 to your computer and use it in GitHub Desktop.
Save lionants02/e760cd6368168e34c55049a6b3f04e85 to your computer and use it in GitHub Desktop.
shell script loop
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