Cal


From Linuxconfig.org

Jump to: navigation, search

.. back to the list of Linux Commands

Name

cal - displays a calendar and the date of easter

Synopsis - man page

cal [-3jmy] [[month] year]

Frequently used options

-3      Print the previous month, the current month, and the next month all on one row.

Examples

cal without any options displays current month in current year:

$ cal
Image:cal01.gif

If we would like to see November in 2009:

$ cal 11 2009
Image:cal02.gif

How about to see all months of year 2010:

$ cal 2010
Image:cal03.gif

Cal is also able to predict vary distant future, not sure if any of us will ever need it, but here is month Jun for year 10001, so make sure that you do not miss your appointment !:

$ cal 6 10001
Image:cal04.gif

Display one months before and after current September 2007 :

$ cal -3 9 2007
Image:cal05.gif

Also see

ncal .. back to the list of Linux Commands

Personal tools
Linux Commands