UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: biffChapter 2
Unix Commands
Next: Reference: calendar
 

cal

cal [[month] year]

With no arguments, print a calendar for the current month. Otherwise, print either 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.

Examples

cal 12 1999
cal 1999 > year_file


Previous: Reference: biffUNIX in a Nutshell: System V EditionNext: Reference: calendar
Reference: biffBook IndexReference: calendar

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System