1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/linux/cal.md

25 lines
423 B
Markdown
Raw Permalink Normal View History

# cal
> 打印日历信息,高亮显示当前日期。
> 更多信息:<https://manned.org/cal>.
- 显示当前月份的日历:
`cal`
- 显示上个月、当前月和下个月:
`cal {{[-3|--three]}}`
- 使用星期一作为一周的第一天:
`cal {{[-m|--monday]}}`
- 显示特定年份的日历(4位数字):
`cal {{年份}}`
- 显示特定月份和年份的日历:
`cal {{月份}} {{年份}}`