cal command is used in Linux to display the calender for a specific month or for a whole year in the terminal.

Syntax of cal command

cal [Month[Year]]

Installing cal command

cal
sudo apt install ncal

install cal command in Linux

cal command

cal

cal command in linux

cal command for displaying current year

cal -y

cal -y command in linux

cal command for displaying a particular month of the current year

cal -m August

cal -m month command in Linux

cal command for displaying any particular month and year

cal 11 2022

cal month Year command in Linux

cal command for displaying whole year calender

cal 2023

cal Year command in Linux

cal command for displaying previous month, current month and next month

cal -3

cal -3 command in Linux

display the current month in Julian’s calendar

cal -j

cal -j command in Linux

Display current year in Julian Calender

cal -jy

cal -jy command in Linux

 

Sharing is Caring
Scroll to Top