Javatpoint Logo
Javatpoint Logo

Linux cal

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

Syntax:

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:

Linux cal2

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

Next TopicLinux Sleep




Please Share

facebook twitter google plus pinterest

B.Tech / MCA


Learn Latest Tutorials