cal man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

cal(1)				 User Commands				cal(1)

NAME
       cal - display a calendar

SYNOPSIS
       cal [ [month] year]

DESCRIPTION
       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.

OPERANDS
       The following operands are supported:

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

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

ENVIRONMENT VARIABLES
       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 cur‐
		rent month.

EXIT STATUS
       The following exit values are returned:

       0	Successful completion.

       >0	An error occurred.

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

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWesu			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Standard			   │
       └─────────────────────────────┴─────────────────────────────┘

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

NOTES
       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.10			  1 Feb 1995				cal(1)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net