Forrest logo
back to the cal tool

cal:tldr:1b038

cal: Display previous, current and next month.
$ cal -3
try on your machine

The command "cal -3" is used to display the calendar for the current month and the previous and next 2 months.

The "cal" command is a utility in Unix-like operating systems that displays a calendar for a specified month or year. By default, without any arguments, it displays the calendar for the current month.

The "-3" option is provided to extend the range of displayed calendars. In this case, it shows the calendar for the current month, the previous month, and the next 2 months. It's a useful way to quickly view a broader range of calendars without manually changing the month one by one.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the cal tool