Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions

Question

2 What supply is and what affects it.

Answered: 1 week ago