CAL

Posted On 2007-04-25 by FortyPoundHead
Keywords: Command Reference
Tags: Linux Commandline Linux
Views: 1590


Display a calendar

SYNTAX
cal [-mjy] [[month] year]

options:

-m Display monday as the first day of the week.

-j Display julian dates (days one-based, numbered from January 1).

-y Display a calendar for the current year.

A single parameter specifies the 4 digit year (1 - 9999) to be displayed.

Two parameters denote the Month (1 - 12) and Year (1 - 9999).

If arguments are not specified, the current month is displayed.

A year starts on 01 Jan.


About the Author

FortyPoundHead has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.234.65.78

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links