Question: SHELL SCRIPT 1) Compose a shell script file 2) Your script file should have direct : #!/bin/sh 3) Should have the header do document you
SHELL SCRIPT
1) Compose a shell script file
2) Your script file should have direct : #!/bin/sh
3) Should have the header do document you script file, include: (you will use comment line to do these)
-
Name of the file containing the script
-
Name of the author
-
Date written
4) Body of your script code
1. your script should take one input from user, what you will do with that input is up to you
2. Execute several commands you learned in previous labs to do something. like
a) create new folder
b) create a new file in that folder
c) add content to that file
d) Make a copy of that file
e) delete the files
f) delete the folder
3. you should use prompt to tell user what happened in each step
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
