All,
I have a list of over 400 users that need certain directories created. These will be created in /users/$username on a system and I need a directory called chess under these directories that I create.
Instead of me manually adding each one (mkdir /users/user1, mkdir /users/user1/chess) then changing the ownership (chown -R user1:group) I would love to have a script ask me for a username and have it to the work.
I'm not too familiar with scripts asking for input so any help would be greatly appreciated.
Thanks.