Basic Commands in Linux - To display calendar
Cal
Cal is used to display calendar on your terminal.
cal - this will display current month.
cal
cal yyyy- this will display entire calendar for the year.
cal 1992
cal mm yyyy - this will display particular month of that year. You can also use short form of month as feb in place of mm to display February month of your year calendar
cal 12 2017
cal feb 2017
cal -w - this will display the calendar with week numbers.
cal -w
cal -m this will display Monday as first day of week
cal -m
cal -s this will display Sunday as first day of week
cal -s
Comments
Post a Comment