subject
Engineering, 12.05.2021 02:50 cjp271

Perform all of the following on your Linux instance. Create a shell script named /tmp/script01.sh that does the following.
Checks if the number of arguments is exactly 2. If so, do the following.
Print the two arguments according to the following format. Note, ARG1 and ARG2 are placeholders. Your script should print the actual value of argument 1 and argument 2.
Argument 1 is: ARG1
Argument 2 is: ARG2
Exit with return code 0.
If the number of arguments is not exactly 2, do the following.
Print the text error: must pass exactly two arguments.
Exit with return code 123.
For credit on this assignment, upload one or more screenshots showing all of the following.
The output of /tmp/script01.sh IT340 homework; echo ${?}.
Can you please show all steps from start to end with screenshots. Thx!

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:20
Modern high speed trains do not have perpendicular expansion gaps where rails are joined end-to-end any more they are mostly welded together but what might happen if there was a spell of particularly hot weather that causes inspection of the tracks?
Answers: 1
question
Engineering, 04.07.2019 19:10
How to increase the thermal officiency of an ideal simple rankino cycle? among these methods, which one is the best and why?
Answers: 2
You know the right answer?
Perform all of the following on your Linux instance. Create a shell script named /tmp/script01.sh t...
Questions
question
Social Studies, 19.10.2019 15:30
question
Social Studies, 19.10.2019 15:30
question
Mathematics, 19.10.2019 15:30
question
Mathematics, 19.10.2019 15:30
Questions on the website: 13722360