home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: biff UNIX in a Nutshell: System V Edition Next: Reference: calendar
Reference: biff Book Index Reference: 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