LinuxCommandLibrary

gcal

advanced calendar with holiday calculations

TLDR

Show current month

$ gcal
copy
Show specific month
$ gcal [3] [2024]
copy
Show entire year
$ gcal [2024]
copy
Show with week numbers
$ gcal -K
copy
Show holidays
$ gcal -q [US]
copy
Show 3 months centered on current
$ gcal .
copy

SYNOPSIS

gcal [options] [date]

DESCRIPTION

gcal is a feature-rich calendar program that goes far beyond simple date display. Unlike the standard cal utility, gcal supports extensive customization including week numbering, configurable week start days, and multi-month displays.
One of gcal's most powerful features is its holiday calculation capability, which can display holidays for various countries and religious traditions. The program also supports astronomical data, eternal holiday lists, and various international calendar systems.
gcal is highly scriptable and can be used for complex date calculations, making it valuable for both interactive use and automation tasks that require sophisticated calendar operations.

PARAMETERS

-K

Show week numbers.
-q country
Show country holidays.
-b number
Months before current.
-a number
Months after current.
-s day
Start of week (0=Sunday).
--today
Highlight today.

SEE ALSO

cal(1), ncal(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community