Calendar

Shell No Comments »

After a long time I’m going to write a post. It’s a bout a unix command called ‘calendar’. I found it by accident while palying with ‘cal’ command. It’s a very interesting command showing you the events on today’s date and tomorrow. ‘Calendar’ is installed by default on a Debian GNU/Linux but it can easily be installed through:

# apt-get install calendar

As the manual says “The calendar utility checks the current directory or the directory specified by the CALENDAR_DIR environment variable for a file named calendar and displays lines that begin with either today’s date or tomorrow’s.  On Fridays, events on Friday through Monday are displayed”.

You can even give a specific date as an argument to the command (using ‘-t’ option) to see the relative events. I gave my birthday as the argument:

$ calendar -t 25.05.1985

And I got the following result:

May 25     Oral Roberts sees 900 foot tall Jesus Christ, Tulsa OK, 1980
May 25     Successful test of the limelight in Purfleet, England, 1830
May 25     African Freedom Day in Zimbabwe
May 25     African Liberation Day in Chad, Mauritania and Zambia
May 25     Anniversary of the Revolution of 1810 in Argentina
May 25     Independence Day in Jordan
May 25     Memorial Day in New Mexico & Puerto Rico
May 25     Revolution in the Sudan in Libyan Arab Republic
May 25     International Towel Day, in honour of Douglas N. Adams
May 25*    Omer 38th day
May 25     Aujourd'hui, c'est la St(e) Sophie.
May 25     The belgian government moves to France, 1940

Designed by NattyWP Wordpress Themes.
Images by desEXign.