Display a calendar in UNIX

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: UNIX  


To display the current month’s calendar, just use:

cal

to display three months starting with last month, try:

cal -3

To display the calendar for a whole year, specify the year on the command line like:

cal 2003

 

1 Comment -


  1. uma said on February 19, 2010

    is calendar and cal commands are same

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -