Home > Linux > Ubuntu Linux Tip: How to Quickly View Calendar in Terminal

Ubuntu Linux Tip: How to Quickly View Calendar in Terminal

by Shivaranjan on April 19, 2009

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.

Did you enjoy this article? Please subscribe to RSS Feed to receive all the updates!

Related Posts:

Leave a Comment

{ 1 trackback }

Previous post:

Next post: