Home OS X
OS X Syntax

cal

Display a calendar

SYNTAX
      cal [-jy] [[month] year]

options:

     -j      Display julian dates (days one-based, numbered from January 1).

     -y      Display a calendar for the current year.

    A single parameter specifies the 4 digit year (1 - 9999) to be displayed.
    The year must be fully specified: `cal 89' will not display a calendar
    for 1989.

    Two parameters denote the month (1 - 12) and year.
    
    If no parameters are specified, the current month's calendar is displayed.

"If everything seems under control, then you're not going fast enough" - Mario Andretti

Related commands:

dc - Desk Calculator
units - Convert units from one scale to another
wc - Print byte, word, and line counts

Equivalent BASH command:

cal
- Display a calendar.



Back to the Top

Simon Sheppard
SS64.com