Question: Please answer using linux 1- Write a program called t that displays the time of day in a.m. or p.m. notation rather than in 24-

Please answer using linux

Please answer using linux 1- Write a program called t that displays

1- Write a program called t that displays the time of day in a.m. or p.m. notation rather than in 24- hour clock time. Here is an example showing t run at: -sh-4.1$ date Tue Apr 26 17:07:49 PDT 2016 -sh-4.1$ The script should output: 5:07 pm 2- Write a program called isyes that returns an exit status of O if its argument is yes and 1 otherwise. For purposes of this exercise, consider y, yes, Yes, YES, and Y all to be valid yes arguments: -sh-4.1$ ./isyes yes -sh-4.1$ echo $? 10 -sh-4.1$

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!