Using Calendar

Using cal on linux

$ cal This command prints current month's simple calendar. If arguments are not specified, the current month is displayed.
e.g.

February 2006
Su Mo Tu We Th Fr Sa
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28

$ cal -3 gives output for three (past, current, coming) months.

$ cal -3 gives output for three (past, current, coming) months.

$ cal -y gives calendar for whole year.

$ cal -m gives calendar with Monday as first day.

$ cal -s gives calendar with Sunday as first day (by default).

$ cal -j gives Julian dates (days one-based, numbered from January 1). The Gregorian Reformation is assumed to have occurred in 1752 on the 3rd of September.

$ cal 2006 gives calender for 2006 year. Year should be 2006, 2007, 2008 etc and not 06, 07, 08. Two parameters denote the month (1 - 12) and year. If no parameters are specified, the current month's calendar is displayed.

More Info

Don't forget to see our Tools' page and linux resources page
For Linux commands see - Useful Linux Tips

gnuServices interests

gnuServices tools...

Report Generation

Open Source

Report Generation is an integral part of enterprise application. We write Shell scripts for automation and Perl scripts for Report Generation of various kinds. More…

Knowledge Base

Website Applications

With Perl, PHP - We use CSS layouts which is the latest trends in web-designing. This has many advantages over the old-school web-design practices. If you would like to learn more about what it is, please visit www.zeldman.com. More…