Write a bash script to print the calendar for the entire month, given a date.
In Unix, simply use the cal command
For example:
mayankp@mayank:~/$ cal # will show the calender of the current month.
To print the calender of a specific month, use oyankp@mayank:~/$ cal 1 2018,
where is oyankp@mayank the computer name.
Comments
Leave a comment