Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
cal [options] [[month] year]
Print a 12-month calendar (beginning with January) for the given year, or a one-month calendar of the given month and year. month ranges from 1 to 12. year ranges from 1 to 9999. With no arguments, print a calendar for the current month.
Display Julian dates (days numbered 1 to 365, starting from January 1).
Display Monday as the first day of the week.
Display entire year.
cal 12 2006 cal 2006 > year_file