Return

Any linux fags here willing to help a noob out?

1 Name: Anonymous 2021-02-25 22:11
I have to find a command in Lubuntu, that does the following;

Calculate how many months start with a monday (monday being day 1)

Right now I have
cal 2021 | awk '{print $2 $4 $16}'

Im thinking of if i could maybe delete a few horizontal lines it would help, but not sure how to do it.
2 Name: Anonymous 2021-02-25 22:14
>>1
Just use Windows 10 stupid noon
3 Name: Anonymous 2021-02-25 22:16
cal -N 2021 | grep Mo | grep -o ' 1 ' | wc -l
4 Name: Anonymous 2021-02-25 22:18
>>3
Should be 2 spaces before the "1". 4ct squashes them together.

Return
Name:
Leave this field blank: