Question: This is in Unix Problem 9 (24 points): Create 3 shell scripts, one for each of the foowing tasks. Put each one in a new

This is in Unix

This is in Unix Problem 9 (24 points): Create 3 shell scripts,

Problem 9 (24 points): Create 3 shell scripts, one for each of the foowing tasks. Put each one in a new file, and name them 'script 1 sh', 'script2.sh', and script3.sh'. Make sure to run the command 'chmod 777 script1.sh script2.sh script3.sh' to give full permissions to read, write, and execute each script, and then submit each of the 3 files along with this assignment using handin. a) scriptl.sh: Write a shell script that takes 2 arguments, the first one a filename and the second one a number. The script should print the filename to the screen 6 times using a loop, and then should check to see if the second argument is a number greater than 1000. If it is, printer out the message "That is a big number!". If it is not, print out the message "That is a small number.". Separate the looped messages from the last message you display with a blank line As an example, if you run your script using the command /scriptl.sh myFile 46 your script should display to the screen the following myFile myFile myFile myFile myFile myFile That is a small number

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!