Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started