RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

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

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

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

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
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

The cal command without any options displays a current month in the current year:

$ cal 

cal command to display current month
If we would like to see month 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 command is also able to predict very distant future, not sure if any of us will ever need it for our personal diary needs, 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
You are also able to instruct a cal command to display one month before and after September 2007 :

$ cal -3 9 2007 

Display one months before and after

Share this linux post:

Submit cal in Delicious Submit cal in Digg Submit cal in FaceBook Submit cal in Google Bookmarks Submit cal in Stumbleupon Submit cal in Technorati Submit cal in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download