LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cal

Display a calendar in the terminal

TLDR

Display calendar for the current month
$ cal
copy
Display 3 months spanning the current date
$ cal -3
copy
Display the whole year
$ cal -y
copy
Display the next twelve months
$ cal -Y
copy
Use Monday as the first day of the week
$ cal -m
copy
Display a calendar for a specific year
$ cal [year]
copy
Display a calendar for a specific month and year
$ cal [month] [year]
copy

SYNOPSIS

cal [options] [[month] year]

DESCRIPTION

cal displays a calendar in the terminal with the current day highlighted. It can show single months, multiple months, or entire years.By default, Sunday is shown as the first day of the week. Use -m to start weeks on Monday.

PARAMETERS

-3, --three

Display previous, current, and next month
-y, --year
Display calendar for the current year
-Y, --twelve
Display the next twelve months
-m, --monday
Use Monday as the first day of the week
-s, --sunday
Use Sunday as the first day of the week (default)
-j, --julian
Display Julian days (day of year)
-n num
Display num months starting from current

INSTALL

sudo apt install ncal
copy
sudo apk add util-linux-misc
copy

SEE ALSO

ncal(1), date(1), calcurse(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid