cal
Displays a calendar
cal [[month] year]
The cal utility displays a calendar for a month or year.
Arguments
The arguments specify the month and year for which cal displays a calendar. The month is a decimal integer from 1 to 12, and the year is a decimal integer. Without any arguments cal displays a calendar for the current month. When you specify a single argument, it is taken to be the year.
Options
-j
Julian Displays a Julian calendar: a calendar that numbers the days consecutively from January 1 (1) through December 31 (365 or 366). See the second example.
-m
Monday Makes Monday the first day of the week. Without this option, Sunday is the first day of the week.
-y
year Displays a calendar for the current year.
Notes
Do not abbreviate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access