quick and easy calendar

Tue 08 December 2015
English: Calendar

Calendar (Photo credit: Wikipedia)

A quick post to share something I was looking for for several month: a quick way to see a calendar.

A simple tool using the command line interface is the `cal <https://en.wikipedia.org/wiki/Cal_%28Unix%29>`__ command that display a calendar in a terminal. In the archlinux distribution, this command is part of the util-linux package.

Here is a brief illustration:

$ cal -3
    November 2015         December 2015         January 2016
Mo Tu We Th Fr Sa Su  Mo Tu We Th Fr Sa Su  Mo Tu We Th Fr Sa Su
                   1      1  2  3  4  5  6               1  2  3
 2  3  4  5  6  7  8   7  8  9 10 11 12 13   4  5  6  7  8  9 10
 9 10 11 12 13 14 15  14 15 16 17 18 19 20  11 12 13 14 15 16 17
16 17 18 19 20 21 22  21 22 23 24 25 26 27  18 19 20 21 22 23 24
23 24 25 26 27 28 29  28 29 30 31           25 26 27 28 29 30 31
30

UPDATE: Moreover, one can use calendar 1 along with its own shell script(s) to periodically check upcoming events and possibly mail reminders.

(Non-)Related articles

Category: how to Tagged: ArchLinux Command-line interface tools Unix how to useless

Page 1 of 1