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 12:10
On a average work day more than work place firs are reorted
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
Atank with constant volume contains 2.27 kg of a mixture of water phases (liquid-vapor). in the initial state the temperature and the quality are 127 Β°c and 0.6, respectively. the mixture is heated until the temperature of 160 oc is reached. illustrate the process in a t-v diagram. then, determine (1) the mass of the vapor in kg at the initial state, (2) the final pressure in kpa.
Answers: 3
question
Engineering, 04.07.2019 19:10
Apressure vessel with an r/t 20 cannot be treated as thin walled vessel. a)-trune b)- false
Answers: 3
You know the right answer?
Perform all of the following on your Linux instance. Create a shell script named /tmp/script01.sh t...
Questions
Questions on the website: 13722367