Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a properly commented script ( this includes your name and data added in the comments that does the following: 1 . The script is

Write a properly commented script (this includes your name and data added in the comments
that does the following:
1. The script is named studentIDLoops.sh and is under the /home/student path
2. Do NOT clear the screen anywhere in the script.
3. Displays the message What does this mnemonic stand for? (spelling, casing and
spacing should match exactly)
4. Uses a for loop that cycles trough an array of string with the elements Bourne, Again
and Shell
5. While inside the for loop, the script displays the values of the elements of the array
(Bourne, Again, Shell) each on a new line (spelling, casing and spacing should match
exactly)
6. After the for loop, the script displays the message End of for loop (spelling, casing and
spacing should match exactly)
7. The script should be able to be executed (and you should execute it, verify its output and
adjust as necessary before running the grading script)
Script output for reference:
When you have completed/think you have completed the tasks successfully, you can run the
grading script by issuing the command sudo ./gradeMe1.sh at the terminal prompt. Enter
the password Password1 when prompted.
The script output should let you know what your grade is.
You can attempt to correct issues you find until you are satisfied with your grade and before
the submission deadline.
Page |5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

d. What language(s) did they speak?

Answered: 1 week ago