Name
calendar
Synopsis
calendar [option]
Reads your calendar file and displays all lines that contain the current date. The calendar file is like a memo board. You create the file and add entries like the following:
5/4 meeting with design group at 2 pm may 6 pick up anniversary card on way home
When you run calendar on May 4, the first line is
displayed. calendar can be automated by using
crontab or at, or by including
it in your startup files .profile or
.login.
Options
-
-a Allow a privileged user to invoke
calendarfor all users, searching each user’s login directory for a file namedcalendar. Entries that match are sent to a user via mail. This feature is intended for use viacron. It is not recommended in networked environments with large user bases.-
-dMMDD[[YY]YY] Display lines for the given date.
-
-ffilename Display calendar items from file filename instead of the default calendar file in your home directory.
-
-ln Display calendar items up to n days ahead from the current date as well.
-
-wn Forces calendar to skip over weekends. Display calendar items up to n days ahead from the current date only when the current day is a Friday. The default for n is 2.