Question: this is in lunix Write a shell script that reads a list of 100 numbers and saves them into an array, and then find and

 this is in lunix Write a shell script that reads a

this is in lunix

Write a shell script that reads a list of 100 numbers and saves them into an array, and then find and prints the number of positive and negative numbers in the list. (b) Write a shell script that contains a function called checkFiles(). This function can find and list all the files that are modified in the last N days. Your main program should allow the user to enter N and pass N as the parameter in the function call for checkFiles(). (c) Write a shell script that reads a list of 100 names, find and prints the number of occurrences of "John" (i.e., how many times "John" appears in the list). (d) Write a shell script that reads a student's number of credits earned so far and determine this student's classification according to the following criteria: credits>= "Senior" credits>=60 "Junior" credits>= 30 "Sophomore" credits

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 Databases Questions!