cal (command)

cal
DeveloperCharles Dye
ReleaseNovember 3, 1971 (1971-11-03)
Written inPlan 9: C
FreeDOS: x86 assembly language
Operating systemUnix, Unix-like, Plan 9, Inferno, MSX-DOS, FreeDOS
PlatformCross-platform
TypeCommand
Licenseutil-linux: BSD-4-Clause
FreeDOS: Freeware / Source-available software
Plan 9: MIT License

cal is a shell command that prints a calendar as ASCII text for one or more months. With no command-line options, it prints a calendar for the current month.

It is specified in the Single UNIX Specification and available on various operating systems including Unix, Plan 9, Inferno and Unix-like systems such as Linux. It was present in 1st Edition Unix. A cal command is also part of ASCII's MSX-DOS2 Tools for MSX-DOS version 2. It is also available for FreeDOS (developed by Charles Dye) in which it supports the Gregorian calendar (new style) and may be distributed freely, with or without source.