Question: 2 ) Create a script called q 2 . sh that does the accepts a single argument representing the name of a file. The script

2) Create a script called q2.sh that does the accepts a single argument representing the name of a file. The script will insert the following:
a. Current date and time.
b. A detailed listing of all the files in the current folder.
Each time you run this script, it will create a file (the name is specified by the user when he runs the script) with the output of parts a and b inside.

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!