A single parameter specifies the year(1-9999) to be displayed; note the year must be fully specified: cal "89" will not display a calendar for 1989. Two parameters denote the month(1-12) and year. If no parameters are specified, the current month's calendar is displayed.
一个参数代表显示年份(1-9999);注意的是年份必须输齐,输入“cal 89”显示的并不是1989年的日历。两个参数表示月份(1-12)和年。如果没有参数,将显示现在的月份。
parameter:
转载于:https://blog.51cto.com/iceandwind/342070