What are other ncal command options?

089

The ncal command has several options that you can use to customize the output. Here are some commonly used options:

  • -m: Display the calendar starting from Monday instead of Sunday.
  • -w: Display the week number for each week in the calendar.
  • -y: Display the current year’s calendar.
  • -3: Display the previous, current, and next month in a three-month view.
  • -h: Display the current month in a highlighted format.
  • -C: Display the calendar in a compact format.
  • -A <number>: Show the specified number of months after the current month.
  • -B <number>: Show the specified number of months before the current month.

You can view all available options and their descriptions by running:

man ncal

This will open the manual page for ncal, providing detailed information on its usage and options.

0 Comments

no data
Be the first to share your comment!