Question: In this task, you will create a script called positional.sh that accepts the output of the date command and performs some formatting. Example solution; example@general:~$

In this task, you will create a script called positional.sh that accepts the output of the date command and performs some formatting.

Example solution;

example@general:~$ ./positional.sh `date` Fri Jan 11 14:15:00 DST 2019 Today is Friday, the 11 of January 2019
  1. The positional parameters of your command are populated with the date command as shown in the example
  2. Display a list of the parameters
  3. Display the message; Today is , the of as shown in the example above

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!