Question: research using some needed commands to develop a shell script that performs the following: N . B: Choose the interactive mode so that you can

research using some needed commands to develop a shell script that performs the following: N.B: Choose the interactive mode so that you can enter input.
a) Write a bash script using loops and arrays that perform the following tasks:
1. Prints a welcoming message that includes your AOU branch name, faculty of computer studies, first and last names, and your ID number. (3 mark)
2. Fills an array with the command line numeric parameters after checking if each parameter is a valid number:
o If it is a valid number, add it to the array.
o If it is not a valid number, print a message and do not add it to the array.
o Count and print the number of valid and invalid entries.
o Print the highest number in the array. (8 marks)
b) Write a cronjob that schedules the execution of the above script every Friday at 12:00 PM.(4 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!