cal

Prints calendar information, with the current day highlighted. More information: <https://manned.org/cal>.

Install

All systems
curl cmd.cat/cal.sh
Debian Debian
apt-get install bsdmainutils
Ubuntu
apt-get install bsdmainutils
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install bsdmainutils
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install bsdmainutils
OS X
brew install util-linux
Raspbian
apt-get install bsdmainutils
Docker
docker run cmd.cat/cal cal powered by Commando

Prints calendar information, with the current day highlighted. More information: <https://manned.org/cal>.

  • Display a calendar for the current month:
    cal
  • Display previous, current and next month:
    cal -3
  • Use Monday as the first day of the week:
    cal --monday
  • Display a calendar for a specific year (4 digits):
    cal year
  • Display a calendar for a specific month and year:
    cal month year

© tl;dr; authors and contributors