How-to display the Orthodox Easter date from CLI

As many people, I do most of my work in the CLI and some of the commands I use often are cal or ncal. Both commands will display a simple calendar, highlighting the current day.

root@box:~# cal
    August 2017
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 31

root@box:~# ncal
    August 2017
Mo     7 14 21 28
Tu  1  8 15 22 29
We  2  9 16 23 30
Th  3 10 17 24 31
Fr  4 11 18 25
Sa  5 12 19 26
Su  6 13 20 27

One interesting command argument I found for ncal is -o that will display the Orthodox Easter day for the current year.

root@box:~# ncal -o
April 16 2017

You can even find it out for past years.

root@box:~# ncal -o 1970
April 26 1970

I recommend to check the complete manual page for cal to see the full description.

root@box:~# man cal

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.