1. Open a Terminal window.
2. To view a single month, execute the following Terminal command (make sure to input both the desired month and year):
cal december 2008
To view an entire year, execute the following Terminal command (make sure to input the desired year):
cal 2009
To view last month, this month and next month, execute the following Terminal command:
cal -3
Display calendar in alternative layout for calendar
The alternative layout of the calendar can be displayed using ncal command.
Command:
ncal june 2009