用Shell 语言编制一Shell 程序,该程序在用户输入年、月之后,自动打印数出该年该月的日历。
操作步骤如下:在vi/vim编辑器下创建Shell脚本:cal_month_year.sh文件主要命令行:#!/bin/bash#Showcalmonthofyearecho-n"Pleaseinputthemonth:"readmonthecho-n"Pleaseinouttheyear:"readyearcal$month$year赋予权限777然后执行:cal_month_year.sh请帮