Display a calendar in UNIX

Contributor Icon Contributed by qmchenry Date Icon September 16, 2003  
Tag Icon Tagged: 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

Previous recipe | Next recipe |
 

Viewing 1 Comment

 
close Reblog this comment
blog comments powered by Disqus