subject

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. PART 2: Experiment with creating aliases to make your use of UNIX a little easier: • Create 3 aliases using the alias command to make useful shortcut commands. • unalias one of those assignments. • TO HAND IN: Take a screen shot of these alias assignments plus their execution for PART 2

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:30
4.11 painting a wall (1) prompt the user to input integers for a wall's height and width. calculate and output the wall's area (integer). note that in this case there is a new line after each prompt. (submit for 1 point). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet (2) extend to also calculate and output the amount of paint in gallons needed to paint the wall (floating point). assume a gallon of paint covers 350 square feet. store this value in a variable. output the amount of paint needed using the %f conversion specifier. (submit for 2 points, so 3 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons (3) extend to also calculate and output the number of 1 gallon cans needed to paint the wall. hint: use a math function to round up to the nearest gallon. (submit for 2 points, so 5 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons
Answers: 3
question
Computers and Technology, 22.06.2019 17:20
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
What controls can be found on the file tab of microsoft word
Answers: 1
You know the right answer?
Explore variables using the env and the set commands. • Create a new variable named hrs_worked. Assi...
Questions
question
Mathematics, 02.09.2020 04:01