Ubuntu – Use the Terminal to Display a Calendar
I am always needing to have quick access to a calendar to set deadlines and plan out various tasks. Using Ubuntu’s Terminal, you can quickly pull up a calendar of any month or year (past, present, or future).
1. Open a Terminal window.
2. To view a single month, execute the following Terminal command (make sure to input both the desired month and year}:
cal december 2008

To view an entire year, execute the following Terminal command (make sure to input the desired year):
cal 2009

To view last month, this month and next month, execute the following Terminal command:
cal -3






Mike said on December 17, 2008
Not Ubuntu specific at all, but a great reminder. I forgot that I had this at my fingertips in various Linuxes, Cygwin, and probably all Unices …
Gary said on December 17, 2008
Thank you for pointing that out. Thats a cool feature.
Bill said on January 13, 2009
Works with Cygwin running in Windows 7
shawn said on August 15, 2009
how can you get it show the next two months. say if current month is august, how to show just september and october
Axel said on July 8, 2010
:D I’ll keep that in mind
Lunx said on February 23, 2011
cal month year
example
cal 03 2011
Nakaloko said on June 27, 2011
how can i view 2 month at the same time.. example june and july..