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 ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.