Engineering
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!

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 19:20, rida10309
At steady state, air at 200 kpa, 325 k, and mass flow rate of 0.5 kg/s enters an insulated duct having differing inlet and exit cross-sectional areas. the inlet cross-sectional area is 6 cm2. at the duct exit, the pressure of the air is 100 kpa and the velocity is 250 m/s. neglecting potential energy effects and modeling air as an 1.008 kj/kg k, determine ideal gas with constant cp = (a) the velocity of the air at the inlet, in m/s. (b) the temperature of the air at the exit, in k. (c) the exit cross-sectional area, in cm2
Answers: 2
image
Engineering, 04.07.2019 19:20, zoebtharpe
Heat transfer by is the fastest mode of heat transfer that requires no intervening medium. a)-conduction b)-convection c)-radiation d)-conduction and convection
Answers: 1
image
Engineering, 06.07.2019 03:10, brookealexis5768
Oxygen at 300 kpa and 400 k is in a closed system with an initial volume of 0.1 m3. is now compressed in a polytropic process, with exponent of n 1.2, to a temperature of 500 k. calculate: a) the boundary work done during the compression, in kj b) the heat transfer during the compression, in kj
Answers: 3
image
Engineering, 06.07.2019 04:20, jahnoibenjamin
Consider a spherical container of inner radius , outer radius r2, and thermal conductivity k. express the boundary condition on the inner surface of the container for steady one-dimensional conduction for the following cases: (a) specified temperature of 50°c, (b) specified heat flux of 30 w/m2 toward the center, (c) convection to a medium at t with a heat transfer coefficient of h
Answers: 2
Do you know the correct answer?
Perform all of the following on your Linux instance. Create a shell script named /tmp/script01.sh t...

Questions in other subjects: