Last Updated: October 19, 2019
·
1.234K
· janahrens

Command-line calendar with cal

Whenever I want to get a specific date I use cal, the good old unix tool (since UNIX Version 5 and on your current Linux and OSX).

Simply type

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

to see the current month and

$ cal 2012

to see the whole year.