File handling, getopts command in unix

I need to create a shell script having the menu with few options such as

  1. Listing 2. Change permissions 3. Modify Contents 4. Delete Files 5. Exit

  2. For 1. Listing: Display a special listing of files showing their date of modification and access time (side by side) along with their permissions, sizes and filenames. The script should accept any number of arguments to display a selective listing and should abort if no filenames are specified as arguments. Provide headers for the columns and take care of all validations.
    Note: Files have to be searched in present working directory only

  3. For 2. Change permissions: Accept files and the permissions to be made available. Change the permissions accordingly.

  4. For 3. Modify Contents: Accept a file name and use any editor to modify the contents as per user's choice
    Note: Consider only .txt files, else modifying contents of binary files will lead to them being corrupted. So, exit if file is not a .txt file.

  5. For 4. Delete Files: Accept a file name(s) and delete the file if available, else display error message

  6. For 5. Exit : Exit the application

  7. For implementing these options use getopts command appropriately.

can some one help me ?
Thanks in advance

Classroom/homework?
An easy start is to just read some stuff you can find with search machines like Google about basic unix commands or the famous bash shell scripting guide.

@bab123
Please read Simple rules of the UNIX.COM forums: before posting, especially 5 and 6.