The cal command writes to standard output a calendar for the specified year or month.
The Month parameter names the month for which you want the calendar. It can be a number from 1 through 12 for January through December, respectively. If no Month is specified, the cal command defaults to the current month.
The Year parameter names the year for which you want the calendar. Because the cal command can display a calendar for any year from 1 through 9999, type the full year rather than just the last two digits. If no Year is specified, the cal command defaults to the present year.
For example, to display a calendar for February 1984 at your workstation, type:
cal 2 1984
For example, to print a calendar for 1984, type:
cal 1984 | qprt
For example, to display a calendar for the year 84 A.D., type:
See the cal command in the AIX 5L Version 5.1 Commands Reference for the exact syntax.