UNIX in a Nutshell: System V Edition

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


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.


cal 12 1994
cal 1994 > year_file

Previous: Reference: bfsUNIX in a Nutshell: System V EditionNext: Reference: calendar
Reference: bfsBook 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