Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PART 1: Explore scripting with some of the concepts from Chapter 8 Explore variables using the env and the set commands. Create a new variable
PART 1: Explore scripting with some of the concepts from Chapter 8
- Explore variables using the env and the set commands.
- Create a new variable named hrs_worked. Assign hrs_worked a value of 20.
- Create a new variable named hrly_rate. Assign hrly_rate a value of 38.
- Create another variable named pay and assign it the value of hrs_worked times hrly_rate.
- export all 3 variables.
- Set hrly_rate to readonly. Try to unset hrly_rate.
- Use the echo command to see the values of all 3 variables.
- TO HAND IN: Take a screen shot of these commands for PART 1.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started