2019-02-26 03:08:44 +00:00
|
|
|
# cal
|
|
|
|
|
2019-10-18 04:30:29 +01:00
|
|
|
> 打印日历信息.
|
2019-02-26 03:08:44 +00:00
|
|
|
|
2019-10-19 07:12:27 +01:00
|
|
|
- 打印本月日历:
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`cal`
|
|
|
|
|
2019-10-19 07:12:27 +01:00
|
|
|
- 显示上个月,当前月,下个月的日历:
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`cal -3`
|
|
|
|
|
2019-10-20 03:34:33 +01:00
|
|
|
- 显示指定月份的日历(月份为 1-12 月):
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`cal -m {{月}}`
|
|
|
|
|
2019-10-19 07:12:27 +01:00
|
|
|
- 显示全年日历:
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`cal -y`
|
|
|
|
|
2019-10-20 03:34:33 +01:00
|
|
|
- 显示指定某年的日历(年份为 4 个数字):
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`cal {{年}}`
|
|
|
|
|
2019-10-19 07:12:27 +01:00
|
|
|
- 显示特定年和月的日历:
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`cal {{月}} {{年}}`
|
|
|
|
|
2019-10-19 07:12:27 +01:00
|
|
|
- 显示指定年的复活节日期:
|
2019-02-26 03:08:44 +00:00
|
|
|
|
|
|
|
`ncal -e {{年}}`
|