Command Line Calendar

How often have you wanted to take a quick glance of the calendar in your desktop? You may need to click a couple of dozen of times on your desktop if the period your are interested in is more than a decade back.

If you are a command line geek who prefer tools that are fast and lean, you can use the cal command to display the calendar instead. The cal command is available in most UNIX/Linux distributions and is also available under Cygwin – The Linux-like environment for Windows.

To print the previous, current and next month:

To print the calendar for the year 2008:

Now for a bit of History, try printing the calendar for September 1752:

Do you notice that there are 11 missing days – September 3 – 13? To know more about the missing days, you can try reading here, here and here.

ibrahim = { interested_in(unix, linux, android, open_source, reverse_engineering); coding(c, shell, php, python, java, javascript, nodejs, react); plays_on(xbox, ps4); linux_desktop_user(true); }