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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!