Question Shell script that makes directories from A to Z and files in every folder from 1 to 9

joniop

Prominent
Aug 6, 2019
18
1
515
Hey guys,

I am trying to write a shell script in Linux that when executed, it makes directories from A to Z and in every folder it makes files from 1 to 9.

And last but not least, I want to make a directory with file that counts every file from the A-Z directories in total.

Do you have any idea how that script would look like?

Thank you in advance!
 
D

Deleted member 14196

Guest
not going to write it for you. google is your friend. it could be done in two loops, one nested inside the other.