cal—displays a calendar

cal   cal [-jy] [month [year]]
cal Prints a calendar for the specified year. If a month is also specified, a calendar just for that month is printed. If neither is specified, a calendar for the present month is printed.
-j Displays Julian dates (days one-based, numbered from January 1).
-y Displays a calendar for the current year.
Example A.8.
1 $ cal
					October 1999
					Su Mo Tu We Th Fr Sa
					1  2
					 3  4  5  6  7  8  9
					10 11 12 13 14 15 16
					17 18 19 20 21 22 23
					24 25 26 27 28 29 30
					31

2 $ cal -j
					October 1999
					Sun Mon Tue Wed Thu Fri Sat
					274 275
					276 277 278 279 280 281 282
					283 284 285 286 287 288 289
					290 291 292 293 294 295 296
					297 298 299 300 301 302 303
					304
				

Explanation

  1. Prints the current month.

  2. Prints month in Julian, starting ...

Get Linux Shells by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.