cal (command)
| cal | |
|---|---|
| Developer | Charles Dye |
| Release | November 3, 1971 |
| Written in | Plan 9: C FreeDOS: x86 assembly language |
| Operating system | Unix, Unix-like, Plan 9, Inferno, MSX-DOS, FreeDOS |
| Platform | Cross-platform |
| Type | Command |
| License | util-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.