Question: Write a BASH script that will take 2 numbers as command line arguments (given at execution in the terminal) and prints all the numbers in

 Write a BASH script that will take 2 numbers as command

line arguments (given at execution in the terminal) and prints all the

numbers in between them regardless of which argument is larger. i.e. it

Write a BASH script that will take 2 numbers as command line arguments (given at execution in the terminal) and prints all the numbers in between them regardless of which argument is larger. i.e. it will compare the arguments and arrange them to create a range if needed.* Re-write the previous script such that it prompts the user to enter 2 values rather than taking them as command line arguments. Store the values in an array and use them from the array indices. Write a BASH script that will prompt the user to enter a file name and a directory name. Create a file with the prompted name and enter all numbers 0-100 in it. Then create a directory of the prompted directory name and move the file into that directory

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!