Question: Edit your script with the following steps: Make your script is executable and includes # ! / bin / bash in the first line of

Edit your script with the following steps:
Make your script is executable and includes #!/bin/bash in the first line of your script.
Display the current date and time.
Display the name of the shell the script is executing in.
Display the directory where the shell script file is.
Ask the user for his/her first name, last name and major.
Save all 3 inputs to 3 different variables.
Display a message greeting the user including the first name, last name and major variable values.
Output should be displayed in a complete sentence.

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!