In all the tasks below, replace studentID with your own studentID (all lowercase – stacur3274
not StaCur3274 or any other variants of spelling)
Do not execute the Final Exam tasks on any other VM or you will have to start over.
Be logged in as student with Password1 in the LNX1C-Eval-4.0 VM
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.