540 B
540 B
cal
打印日历信息。 更多信息:https://keith.github.io/xcode-man-pages/cal.1.html。
- 显示当前月份的日历:
cal
- 显示上个月、当前和下个月:
cal -3
- 显示特定月份的日历(1-12 或名称):
cal -m {{month}}
- 显示当前年份的日历:
cal -y
- 显示特定年份的日历(4位数字):
cal {{year}}
- 显示特定月份和年份的日历:
cal {{month}} {{year}}
- 显示给定年份的复活节日期(西方基督教教会):
ncal -e {{year}}