cal command in Linux with Examples

cal command means Prints an ASCII calendar of the given month or year. cal command used to see the calendar of a specific month or a whole year.


cal [options] [[[day] month] year]
cal [options] [timestamp|monthname]

In man page the describe it

  • cal – display a calendar.
  • man cal – More details information about cal command.

cal command in Linux with Examples

$ cal

Display last month, this month, and next month.

Display this entire year’s calendar.


cal command is the simple the command in Linux. It is the most popular in use terminal Linux display a calendar.


About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.