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:

cal 01 2012


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

cal -y 2013



Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox