Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for cal (opensolaris section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

cal(1)					  User Commands 				   cal(1)

       cal - display a calendar

       cal [ [month] year]

       The  cal  utility  writes  a Gregorian calendar to standard output. If the year operand is
       specified, a calendar for that year is written. If no operands are specified,  a  calendar
       for the current month is written.

       The following operands are supported:

       month	Specify the month to be displayed, represented as a decimal integer from 1 (Janu-
		ary) to 12 (December). The default is the current month.

       year	Specify the year for which the calendar is displayed, represented  as  a  decimal
		integer from 1 to 9999. The default is the current year.

       See   environ(5)  for  descriptions of the following environment variables that affect the
       execution of cal: LANG, LC_ALL, LC_CTYPE, LC_TIME, LC_MESSAGES, and NLSPATH.

       TZ    Determine the timezone used to calculate the value of the current month.

       The following exit values are returned:

       0     Successful completion.

       >0    An error occurred.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWesu			   |
       |Interface Stability	     |Standard			   |

       calendar(1), attributes(5), environ(5), standards(5)

       An unusual calendar is printed for September 1752. That is the month 11 days were  skipped
       to make up for lack of leap year adjustments. To see this calendar, type:

	 cal 9 1752

       The command cal 83 refers to the year 83, not 1983.

       The year is always considered to start in January.

SunOS 5.11				    1 Feb 1995					   cal(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:20 PM.