Linux logoif you are in a Linux terminal and you want to quickly view a calendar you can use the simple cal command. Cal is part of the util-linux package.



If no arguments are specified cal will display the current month.


To display the calendar for a specific month of a year type:

cal month year

To display the calendar for a whole year type:

cal year

To display the calendar for the previous, current and next month type:

cal -3

Here is the output for all the above comands.

Linux cal command

If you want to read the manual page of cal type:

man cal



Login Form

Follow me on...

  • Facebook
  • Twitter
  • Google+: u/0/b/113039112812192417058/
  • Digg
  • Reddit: myguides
  • RSS Feed
  • e-mail

Member Login