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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!