Question: 2. Basic Shell Scripting a. Create a shell script consisting of 1 (one) input and 3 (three) outputs as following: Ask for input of your

 2. Basic Shell Scripting a. Create a shell script consisting of

2. Basic Shell Scripting a. Create a shell script consisting of 1 (one) input and 3 (three) outputs as following: Ask for input of your date of birth Displays your birthday (weekday): Sunday, Monday, Tuesday, etc. from the input which is given. Displays your age in years (calculated based on the difference in the current year by year of birth). Displays the numbers 1 to your age on the same line. . Display example: $ ./birthday.sh Input Date of Birth (e.g. 1 Jan 2000) : 1 Jan 2000 I was born on Saturday my age : 21 years 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21 b. Explain in the birthday.sh file, every command and parameter you use in the shell script

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!