feed-image  ISSN 1836-5930



Receive Your Complimentary Guide to Linux NOW!


A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)




Poll

Do you care about your privacy when using a FACEBOOK?
 

linuxconfig.org
is hosted by:



Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
All For Linux

cal
Article Index
1. Name
2. Synopsis
3. Frequently used options
4. Examples

1. Name

cal - displays a calendar and the date of easter

2. Synopsis

cal [-3jmy] [[month] year] 

3. Frequently used options

-3      Print the previous month, the current month, and the next month all on one row. 

4. Examples

cal without any options displays current month in current year:
$ cal 
cal command to display current month
If we would like to see November in 2009:
$ cal 11 2009 
use cal command to display specifig month
How about to see all months of year 2010:
$ cal 2010 
use cal command to display specifig year
Cal is also able to predict vary distant future, not sure if any of us will ever need it, but here is month Jun for year 10001, so make sure that you do not miss your appointment !:
$ cal 6 10001 
use cal command to show future calendar
Display one months before and after current September 2007 :
$ cal -3 9 2007 
Display one months before and after