Working with calendars on Linux
Linux systems can provide more help with your schedule than just reminding you what day today is. You have a lot of options for displaying calendars – some that are likely to prove helpful and others that just might boggle your mind.
date
To begin, you probably know that you can show the current date with the date command.
$ date Mon Mar 26 08:01:41 EDT 2018
cal and ncal
You can show the entire month with the cal command. With no arguments, cal displays the current month and, by default, highlights the current day by reversing the foreground and background colors.
$ cal
March 2018
Su Mo Tu We Th Fr Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
If you want to display the current month in a “sideways” format, you can use the ncal command.