Please log in as “root” and create a new directory called “myScripts”on your desktop (i.e., /root/Desktop).Please leave a comment with your name at the end of each of your script files. You can use “#” to insertcomments in your script. Write a script and save it as /root/Desktop/exercise1. This script performs the followingfunctions:a. Asks the user for the length and width (in feet) of a rectangular roomb. Calculates the area of the roomc. Displays the result to the userRun the script in terminal using the command: bash /root/Desktop/exercise1 SO I HAVE WROTE THE SCRIPT BUT I DON'T KNOW HOW TO SAVE IT TO EXERCISE1 AND DISPLAY IT, JUST NEED TELL ME HOW TO DO IT , NO NEED SCRIPT

A+ Guide To It Technical Support
10th Edition
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:ANDREWS, Jean.
Chapter16: Securing And Sharing Windows Resources
Section: Chapter Questions
Problem 13TC: You have set up a user group named Accounting and have put all employees in the Accounting...
icon
Related questions
Question

Please log in as “root” and create a new directory called “myScripts”
on your desktop (i.e., /root/Desktop).
Please leave a comment with your name at the end of each of your script files. You can use “#” to insert
comments in your script.

Write a script and save it as /root/Desktop/exercise1. This script performs the following
functions:
a. Asks the user for the length and width (in feet) of a rectangular room
b. Calculates the area of the room
c. Displays the result to the user
Run the script in terminal using the command: bash /root/Desktop/exercise1

SO I HAVE WROTE THE SCRIPT BUT I DON'T KNOW HOW TO SAVE IT TO EXERCISE1 AND DISPLAY IT, JUST NEED TELL ME HOW TO DO IT , NO NEED SCRIPT 

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A+ Guide To It Technical Support
A+ Guide To It Technical Support
Computer Science
ISBN:
9780357108291
Author:
ANDREWS, Jean.
Publisher:
Cengage,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L