Ques: 1 Write The Linux Command To Display Calendar With Various Options
Ques: 1 Write The Linux Command To Display Calendar With Various Options
Ques: 1 Write the linux command to display calendar with various options.
Command :- calender
Syntax :- cal
Description :- This Command use to display the calendar for current month. There are various
options to display calendar for specific month with specific formats. Few formats are as follows:
Cal [month]: displays the current month calendar.
Cal [year]: displays the calendar of the full year of given value.
Cal -3: display calendar for 3 months [previous, current, next month].
Cal –j: displays the calendar in Julian format.
Cal –m: display the calendar of previous month
1
Name –
Class – BCA (M)
Roll No-
Linux Lab
2
Name –
Class – BCA (M)
Roll No-