tldr/pages/linux/cal.md
2019-01-27 10:19:38 +05:30

388 B

cal

Prints calendar information, with the current day highlighted.

  • Display a calendar for the current month:

cal

  • Display previous, current and next month:

cal -3

  • Use monday as the first day of the week:

cal --monday

  • Display a calendar for a specific year (4 digits):

cal {{year}}

  • Display a calendar for a specific month and year:

cal {{month}} {{year}}