Datasheet
688
Useful Commands
Figure 1-4: 
Type cal 
to view a 
calendar for 
the current 
month.
Figure 1-5: 
Type cal 
followed by 
a year to 
view the 12 
months of 
that year.
Append a month number and a year number to display the calendar for that 
month. For example, to view a calendar for April 2010, type cal 04 2010.
Use the –m flag to specify the current year, as in cal –m 08 for August of 
this year.
Another useful command that’s related to the cal command is date. Type 
date at the command line to display the day, date, time, and year based on 
your computer’s settings.
WHITEDRAGON:~ markchambers$ date
Mon Jan 15 11:32:20 CDT 2009
55_9781118022061-bk08ch01.indd 68855_9781118022061-bk08ch01.indd 688 8/10/11 9:39 AM8/10/11 9:39 AM










