Display A Calendar in the Terminal With This Command

For those command line lovers, you can easily display a calendar in the terminal with this command:

cal

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:

cal 01 2012

cal-monthly

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

cal -y 2013

cal-yearly

Do you like what you read here?

Receive the latest update in your inbox.

Or connect with us: