2014-02-10 23:44:02 +00:00
|
|
|
# cal
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Prints calendar information.
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-20 11:38:37 +00:00
|
|
|
- Display a calendar for the current month:
|
2014-02-10 23:44:02 +00:00
|
|
|
|
|
|
|
`cal`
|
|
|
|
|
2017-05-01 14:17:01 +01:00
|
|
|
- Display a calendar for a specific month (1-12 or name):
|
2016-01-20 11:38:37 +00:00
|
|
|
|
2017-05-01 14:17:01 +01:00
|
|
|
`cal -m {{month}}`
|
2016-01-20 11:38:37 +00:00
|
|
|
|
2017-05-01 14:17:01 +01:00
|
|
|
- Display a calendar for the current year:
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-20 17:59:42 +00:00
|
|
|
`cal -y`
|
|
|
|
|
2017-05-01 14:17:01 +01:00
|
|
|
- Display a calendar for a specific year (4 digits):
|
2016-01-20 17:59:42 +00:00
|
|
|
|
2017-05-01 14:17:01 +01:00
|
|
|
`cal {{year}}`
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2017-05-01 14:17:01 +01:00
|
|
|
- Display a calendar for a specific month and year:
|
|
|
|
|
|
|
|
`cal {{month}} {{year}}`
|
|
|
|
|
|
|
|
- Display date of Easter (Western Christian churches) in a given year:
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-20 11:38:37 +00:00
|
|
|
`ncal -e {{year}}`
|