cal command in Linux with Examples

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

cal command in Linux with Examples

Syntax

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

On the man page, the describes 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.

cal command in Linux with Examples

Display this entire year’s calendar.

cal command in Linux with Examples

Conclusion

cal command is a simple command in Linux. It is the most popular in use terminal Linux display a calendar. Thank you for reading the DevopsRoles page!

,

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 DevopsRoles.com 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.

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