cal Command in Unix | Linux Tutorial

cal Command

The cal command is used to see the calendar of any specific month or the complete year.

cal [[month] year]
The arguments within the brackets are optional.

cal
displays the calender of the current month.

cal 05 2020
displays the calendar of the May month of the year 2020.

cal 2020
displays the calendar of the entire year 2020.

Comments