cal
打印日历信息。 更多信息:https://keith.github.io/xcode-man-pages/cal.1.html.
- 显示本月日历:
cal
- 显示上月、本月和下月的日历:
cal -3
- 显示指定月份的日历(月份为 1-12 月):
cal -m
月
- 显示本年日历:
cal -y
- 显示指定年份的日历(年份为 4 个数字):
cal
年
- 显示指定年月的日历:
cal
月
年
- 显示指定年份的复活节日期:
ncal -e
年
打印日历信息。 更多信息:https://keith.github.io/xcode-man-pages/cal.1.html.
cal
cal -3
cal -m
月
cal -y
cal
年
cal
月
年
ncal -e
年