Wednesday, December 18, 2024
HomeUNIXDisplay a calendar in UNIX

Display a calendar in UNIX


To display the current month’s calendar, just use:

cal

to display three months starting with last month, try:

cal -3

To display the calendar for a whole year, specify the year on the command line like:

cal 2003

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!