Here are some useful options for the cal command:
-
Display a specific month and year:
cal [month] [year]Example:
cal 5 2023shows May 2023. -
Show the entire year:
cal [year]Example:
cal 2023displays the calendar for the entire year 2023. -
Display the previous, current, and next month:
cal -3 -
Highlight today's date:
cal -h -
Display the week starting on Sunday:
cal -s -
Show the Julian calendar:
cal -j -
Display the calendar with the first day of the week as Monday:
cal -m
You can always check the manual for more options:
man cal
These options can help you customize how you view the calendar in the terminal!
