community man page

cal

Display a calendar with the current day highlighted. See also: `gcal`.

10 examples·source: tldr · CC-BY·status: verified
Reading is open to everyone. Suggesting a flag, fixing an example or adding a recipe is opening to verified-email accounts soon — every change is moderated before it goes live.
curl https://curlhub.sh/man/cal
same page, in your terminal

Examples

Display a calendar for the current month GNU

cal

Display 3 months spanning the date GNU

cal [-3|--three]

Display the whole calendar for the current year GNU

cal [-y|--year]

Display the next twelve months GNU

cal [-Y|--twelve]

Use Monday as the first day of the week GNU

cal [-m|--monday]

Display a calendar for a specific year (4 digits) GNU

cal year

Display a calendar for a specific month and year GNU

cal month year

Display a calendar for the current month

cal

Display a calendar for a specific year

cal year

Display a calendar for a specific month and year

cal month year