Question: This homework question is for scripting in the Linux bash shell from the command prompt: 3. Determine and use a command that will store the
This homework question is for scripting in the Linux bash shell from the command prompt:
3. Determine and use a command that will store the number 12 into the variable num. Write the command in your assignment, and explain the importance of the command.
What command will allow you to check the value of the variable num? Write the command in your assignment.
Start a subshell by typing sh. What is the current value for the variable you just created? Why is that so and what can be done to remedy this? Write down the command, along with your answer as to why the variable did not show in the subshell.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
