Hey my teacher has this as a question on my current lab and im having trouble on how to start it. here it is:
*************** *************** *************** *************** ******
Write a menu driven "wrapper" to the FIND command. It should walk the user through using the command, asking the user the following questions(in this order)
what directory to start in?
what criteria to use to search for files
1. by name
2. by owner
what action to perform on each file(these are options tot eh find command)
1. print
2. ls
3. execute a command
if #3 is chosen, allow the user to enter the command to run on the file
once all the information has been gathered, form the proper FIND command and execute it. display the results of the command to the screen. use the man page ont he find command to determine which options to use.
*************** *************** *************** *************** ****
Any help will be great, thanks.
*************** *************** *************** *************** ******
Write a menu driven "wrapper" to the FIND command. It should walk the user through using the command, asking the user the following questions(in this order)
what directory to start in?
what criteria to use to search for files
1. by name
2. by owner
what action to perform on each file(these are options tot eh find command)
1. print
2. ls
3. execute a command
if #3 is chosen, allow the user to enter the command to run on the file
once all the information has been gathered, form the proper FIND command and execute it. display the results of the command to the screen. use the man page ont he find command to determine which options to use.
*************** *************** *************** *************** ****
Any help will be great, thanks.
Comment