Unix and Linux Discussions Tagged with month |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
5 |
9,559 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,951 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
30,047 |
Solaris |
|
|
|
18 |
18,829 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,503 |
Shell Programming and Scripting |
|
|
|
8 |
13,500 |
Shell Programming and Scripting |
|
|
|
2 |
4,538 |
Shell Programming and Scripting |
|
|
|
4 |
6,430 |
Shell Programming and Scripting |
|
|
|
2 |
21,617 |
Shell Programming and Scripting |
|
|
|
1 |
1,489 |
Shell Programming and Scripting |
|
|
|
11 |
24,467 |
Shell Programming and Scripting |
|
|
|
0 |
2,202 |
HP Server News and Podcasts RSS |
|
|
|
1 |
7,405 |
Shell Programming and Scripting |
|
|
|
1 |
7,220 |
Shell Programming and Scripting |
|
|
|
4 |
37,281 |
Shell Programming and Scripting |
|
|
|
6 |
6,229 |
Shell Programming and Scripting |
|
|
|
3 |
14,560 |
Shell Programming and Scripting |
|
|
|
5 |
12,301 |
Shell Programming and Scripting |
|
|
|
6 |
22,054 |
Shell Programming and Scripting |
|
|
|
1 |
5,524 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
4,247 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,825 |
Shell Programming and Scripting |
|
|
|
2 |
22,537 |
Shell Programming and Scripting |
|
|
|
7 |
13,061 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
1,850 |
Shell Programming and Scripting |
|
|
|
16 |
6,164 |
IP Networking |
|
|
|
4 |
22,048 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,112 |
Shell Programming and Scripting |
|
|
|
4 |
4,115 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,805 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,551 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
19,846 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
73,614 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
231,955 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
16,327 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
5,978 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
44,237 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
12,947 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,497 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
21,860 |
UNIX for Dummies Questions & Answers |
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, represented 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 current 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.11 1 Feb 1995 cal(1)