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, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 18:20
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
Answers: 1
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
Mathematics, 18.03.2021 02:40
question
Arts, 18.03.2021 02:40
question
Mathematics, 18.03.2021 02:40
Questions on the website: 13722367