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:

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:


Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox