Question: Write and upload a bash script that will do the following five things. Be sure to add a comment (half points will be deducted for

Write and upload a bash script that will do the following five things. Be sure to add a comment (half points will be deducted for not adding a comment for each item) with each of the items below in your script just before where the command occurs:

1. Header comments to describe what the script is for. (3/3)

2. Add a stop on any error command. (3/3)

3. Assign the first input from the command line to be equal to a variable called FIRST (3/3)

4. Assign the second input from the command line to be equal to a variable called NOTFIRST (3/3)

5. Print out to the screen the first two variables. (3/3)

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!