Question: Ubuntu Please! Please provide a shell script that accomplishes the following: (20 points) a. Create an output file called /tmp/listing-$LOGNAME b. Print your name and
Ubuntu Please!
Please provide a shell script that accomplishes the following: (20 points)
a. Create an output file called /tmp/listing-$LOGNAME
b. Print your name and todays date at the top of the file.
c. List all files (including subdirectories) found within /etc/ and pass the output to the file created in step a.
d. Print a total count of files at the bottom of the file.
e. Print environment variable for the path which you modified in step 5.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
