Need some Help please with Linux shell script.

we need help with the syntax with this shell script,
if you could create this shell script we can donate to a charity etc.

we need to set up a directory called user3
inside directory user3 we need to create the following files :
afile, anyfile, anotherfile, afiletest, bfile. bfiletest, cfile, cfiletest,

the script will give the user a menu, with options in order to assist with the backup of files,
choices given to the user are Backup all files or Backup selected files.

if user chooses to backup all files then the files should be backed up to a new subdirectory called AllBackup which should

be created within your script.

if the user chooses to backup selected files then they must input files to be backed up in a specific format eg all files

starting with letter "a", or all files ending with "test". these files should then be backed up to a new subdirectory

called SelectBackUp, which should be created within your script.

for this assignment you will need to make use of loops and if statements.

you may also rrequire some nesting of control structures.

Is this homework?

yes, at college and not been taught very well, hence need some help.

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.