This will work in both Linux and Mac OS X. The default “cal” command will show the calendar for the current month. If you want it to show other month, say January 2012, just type:

If you want it to show a yearly calendar instead, use the command: