mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 04:42:12 +02:00
27 lines
464 B
Markdown
27 lines
464 B
Markdown
# cal
|
|
|
|
> Prints calendar information.
|
|
|
|
- Display a calendar for the current month:
|
|
|
|
`cal`
|
|
|
|
- Display a calendar for a specific month (1-12 or name):
|
|
|
|
`cal -m {{month}}`
|
|
|
|
- Display a calendar for the current year:
|
|
|
|
`cal -y`
|
|
|
|
- Display a calendar for a specific year (4 digits):
|
|
|
|
`cal {{year}}`
|
|
|
|
- Display a calendar for a specific month and year:
|
|
|
|
`cal {{month}} {{year}}`
|
|
|
|
- Display date of Easter (Western Christian churches) in a given year:
|
|
|
|
`ncal -e {{year}}`
|