Display a calendar in UNIX

Posted September 16, 2003 by Quinn McHenry in UNIX

Last Updated on

To display the current month’s calendar, just use:


to display three months starting with last month, try:

cal -3

To display the calendar for a whole year, specify the year on the command line like:

cal 2003


About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply