Forrest logo
back to the cal tool

cal:tldr:912b4

cal: Display a calendar for the current month.
$ cal
try on your machine

The command "cal" is a shorthand for the word "calendar" and is used in Unix and Unix-like operating systems to display a textual representation of a calendar. When you run the "cal" command in a terminal or command prompt, it will typically display the current month's calendar, showing the days of the week and corresponding dates.

For example, if you run the "cal" command in September 2021, it will display a calendar for the month of September, highlighting the current day. The command usually shows a grid with the days of the week (Sunday to Saturday) aligned, followed by the dates organized by weeks.

You can also use command line options with "cal" to display calendars for different months or years. For instance, "cal 12 2022" will display the calendar for December 2022.

Overall, the "cal" command is a simple and handy tool to quickly view calendar information within a terminal or command prompt interface.

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