DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Power tools

Seeing a calendar

You can see a calendar using the cal command. If you type cal and press <Enter>, you see a calendar for last month, this month, and next month, along with the current time and date.

   $ cal
   Thu Jun 23 16:25:09 1994
            May                    Jun                   Jul
    S  M Tu  W Th  F  S    S  M Tu  W Th  F  S    S  M Tu  W Th  F  S
    1  2  3  4  5  6  7             1  2  3  4                   1  2
    8  9 10 11 12 13 14    5  6  7  8  9 10 11    3  4  5  6  7  8  9
   15 16 17 18 19 20 21   12 13 14 15 16 17 18   10 11 12 13 14 15 16
   22 23 24 25 26 27 28   19 20 21 22 23 24 25   17 18 19 20 21 22 23
   29 30 31               26 27 28 29 30         24 25 26 27 28 29 30
                                                 31
You can see a calendar for a particular month and year by typing cal, then the month (or an abbreviation of it), then the year. For example, to see the calendar for August 1996, you could type:
   $ cal Aug 1996
      August 1996
    S  M Tu  W Th  F  S
                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 29 30 31
You must type the year in full; if you type cal Sept 96, you see the calendar for September 96, not September 1996.
Next topic: Remembering your appointments
Previous topic: Finding out the time and date

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005