Question: Write a shell script to ask the user to enter 10 numbers. Save these numbers in a file called numbers. Note that you need to

Write a shell script to ask the user to enter 10 numbers. Save these numbers in a file called numbers. Note that you need to use the read command to get one number. After you read each number you should save it in the file result (Will you use the redirection operator or append operator?). Then in the same shell script echo that you will display all numbers now. Then display the numbers. Then write a statement saying that you will sort the numbers now. Then show the sorted values.

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!