Files
tldr/pages.zh/linux/cal.md

485 B
Raw Permalink Blame History

日历

显示当前日期高亮的日历。 更多信息:https://manned.org/cal

  • 显示当前月份的日历:

cal

  • 显示跨越日期的 [3] 个月:

cal -3

  • 显示当前 [年] 的完整日历:

cal --year

  • 显示接下来的十二个月:

cal --twelve

  • 将星期一作为一周的第一天:

cal --monday

  • 显示特定年份的日历4位数字

cal {{year}}

  • 显示特定月份和年份的日历:

cal {{month}} {{year}}