How do you use cal?
What are the options available for cal command?
|-w||Print the number of the week under each week column.|
|-C||Behave as if you ran cal, using its options and display output.|
|-M||Display weeks with Monday as the first day.|
|-S||Display weeks with Sunday as the first day. This is the default.|
How do I show the calendar in Linux terminal? To show a calendar in the terminal simply run the cal command. This will output a calendar of the current month with the current day highlighted.
Which command is used to print the calendar? Cal is a terminal command used in Linux to print a calendar. Simply type cal to display the current month calendar. In this tutorial, we learn about cal command in Linux and its options.