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


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: bfs Chapter 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 1994




cal 1994 > year_file


Previous: Reference: bfs UNIX in a Nutshell: System V Edition Next: Reference: calendar
Reference: bfs Book Index Reference: calendar

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