Question: a. Create a bash script that takes in three command line parameters. First parameter is first name, second parameter is your username for your system,

a. Create a bash script that takes in three command line parameters. First parameter is first name, second parameter is your username for your system, and the third parameter is the command used to list the contents of a directory. (It will be run as: [user]$ sh _Script1.sh)

b. The script must print the following output, replacing with your first name, and with a listing of the files in that directory: Hello , the contents of my home directory are:

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!