Linux cal

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

Linux cal

The 'cal' term stands for calender. It displays current month's calender with current day highlighted.

Syntax:

cal

Linux cal1

Look at the above snapshot, cal command has highlighted current date in current month.


Displaying Past Or Future Month

You can also display past or future year's month with cal command.

Syntax:

cal <month> <year>

Linux cal2

Look at the above snapshot, calender of July 1991 and July 2028 are displayed.