Unix Commands 2

March 9, 2012    blog unix school

Unix Assignment problem for Operating Systems class



Display the calendar for the winter season (November, December, January, February, March and



The calendar dates need to be displayed at the same time



cal -3 12 2012 | cal -3 3 2012

does not work because piping will cause the calendar to only show the January to april months


cal -3 12 2012 ; cal -3 3 2012

works because it inputs both the commands into the system which shows all of the calendar months for the winter season