Cal Command in Linux

Linux Basic Command - cal to display calendar


Cal displays a simple calendar.  If arguments are not specified, the current month is displayed.  The options are as follows:
     -1      Display single month output.  (This is the default.)
     -3      Display prev/current/next month output.
     -s      Display Sunday as the first day of the week.  (This is the default.)
     -m      Display Monday as the first day of the week.
     -j      Display Julian dates (days one-based, numbered from January 1).

     -y      Display a calendar for the current year.


Example of cal Command:


cal command




No comments: