Here are some common options you can use with the ncal command:
Basic Options
-
Display the current month's calendar:
ncal -
Display a specific month and year:
ncal <month> <year>Example:
ncal 12 2023 -
Display the entire current year:
ncal -y
Formatting Options
-
Display the current month with week numbers:
ncal -w -
Display the calendar with Sunday as the first day of the week:
ncal -s -
Display the calendar with Monday as the first day of the week:
ncal -M -
Display the calendar with a specific day as the first day of the week:
ncal -S # Sunday as the first day
Additional Options
-
Display the calendar in a more compact format:
ncal -C -
Show the current month in a compact format:
ncal -c
Help and Manual
To see all available options and get more details, you can check the manual page:
man ncal
These options allow you to customize how you view the calendar using ncal.
