June 2004
Intermediate to advanced
1056 pages
39h 58m
English
cal
cal [options] [[month]year]
With no arguments, prints a calendar for the current month.
Otherwise, prints either a 12-month calendar (beginning with January)
for the given year or a one-month calendar
of the given month and
year. month
ranges from 1 to 12; year ranges from 1 to
9999.
-j
Print all days with Julian dates, which number from 1 (for January 1) to the last day of the year.
-y
Print the entire calendar for the current year.
$cal -j 12 2003$cal 2003 >year_file
Read now
Unlock full access