Question: Explore variables using the env and the set commands. Create a new variable named hrs _ worked. Assign hrs _ worked a value of 2
Explore variables using the env and the set commands.
Create a new variable named hrsworked. Assign hrsworked a value of
Create a new variable named hrlyrate. Assign hrlyrate a value of
Create another variable named pay and assign it the value of hrsworked times hrlyrate.
export all variables.
Set hrlyrate to readonly. Try to unset hrlyrate.
Use the echo command to see the values of all variables.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
