How to read user keyboard input inside the case?

view story

http://www.unix.com – I need to Write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. with automated following tasks: Copy directory tree Delete files or directories Output Information (this part is done ) *Copy directory tree The “Copy directory tree” selection should prompt for two arguments: src & dest. The script then copies all the files from src, including all the subdirectories, to dest, creating all the necessary sub-directories. The script must perform necessary argument validation, assuming that the first argum (HowTos)