Linux / UNIX: displays a calendar and the date of easter with cal command

Linux / UNIX: displays a calendar and the date of easter with cal command

To display a calendar on a Linux or UNIX system, you can use the cal command.

cal
Sourc‮.www:e‬lautturi.com

This will display a calendar for the current month.

To display a calendar for a specific month and year, use the cal command followed by the month and year.

For example, to display a calendar for June 2021:

cal 6 2021

To display the date of Easter for a specific year, use the cal command with the -y option followed by the year.

cal -y 2021

This will display a calendar for the entire year, with the date of Easter highlighted.

Created Time:2017-10-29 22:08:57  Author:lautturi