cal 显示指定月份的日历

常见命令参数

NAME
     cal - displays a calendar

SYNOPSIS
     cal [-smjy13] [[[day] month] year]

DESCRIPTION
     Cal displays a simple calendar.  If arguments are not specified, the current month is displayed.  The options are
     as follows:

     -1      Display single month output.  (This is the default.)

     -3      Display prev/current/next month output.

     -s      Display Sunday as the first day of the week.

     -m      Display Monday as the first day of the week.

     -j      Display Julian dates (days one-based, numbered from January 1).

     -y      Display a calendar for the current year.

     -V      Display version information and exit.

常用的命令展示        
  

cal  # 显示当前月 

Linux cal命令详解

cal 2018    # 显示2018年

Linux cal命令详解

   cal  6 2018  # 显示2018年6月

Linux cal命令详解

相关文章:

  • 2021-10-12
  • 2021-09-26
  • 2021-06-17
  • 2022-12-23
  • 2021-09-07
  • 2021-12-11
猜你喜欢
  • 2022-03-03
  • 2021-07-17
  • 2021-06-10
  • 2021-11-18
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
相关资源
相似解决方案