Please provide a working linux shell script code for task be

Please provide a working linux shell script code for task below:

Write a shell script to take 2 arguments to print \"Hello World\". Write a shell script called cal2.sh to do the following. Print the current calendar in month and year when there is no argument Print the calendar with specified month matching the argument when there is one argument Print the calendar month and year when providing 2 arguments

Solution

Task 0

echo $1$2

Task 1

1) Calender with no arguments   cal|sed -r \"s/\\b$(dat|cut -d\' \' -f4)\\b//\"

Please provide a working linux shell script code for task below: Write a shell script to take 2 arguments to print \

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site