Files
tldr/pages.zh/linux/cal.md
2021-09-15 09:14:54 -03:00

25 lines
400 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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