Ubuntu Linux Tip: How to Quickly View Calendar in Terminal

ADVERTISEMENTS

In Linux environment it is easier to work with the terminal to get the job done quickly and so if you want to quickly have look at the calendar then it can be directly seen in the terminal by using the cal command. The cal command is a standard Linux command that can be used in any Linux operating system.

Display calendar of the current month

Command:

cal

ubuntu_linux_calenar_1

Display calendar of a particular month (user defined)

Let us try to display calendar of the month June 2009

Command:

cal june 2009

or

cal 06 2009

ubuntu_linux_calenar_2

Display calendar for a year

Command:

cal 2009

ubuntu_linux_calenar_3

Display calendar for last month, current month and next month

Command:

cal –3

ubuntu_linux_calenar_4

Display calendar in alternative layout for calendar

The alternative layout of the calendar can be displayed using ncal command.

Command:

ncal june 2009

ubuntu_linux_calenar_5

Hope you enjoyed this post, please let me know if anything can be added to this most more useful.

If you liked this article, click here to buy me a Beer! :)

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related Entries


One Response to “Ubuntu Linux Tip: How to Quickly View Calendar in Terminal”

  1. Well, if you realize the concept of the calendar has way beyound revolutionized from the days of 70/80’s to the new google calendar days where you come up with sharing, organizing resources.

    You could come up with something like that integrating the command line with the web technologies out there like todo calendar etc…

Leave a Reply